ILIAS  trunk Revision v11.0_alpha-1753-gb21ca8c4367
All Data Structures Namespaces Files Functions Variables Enumerations Enumerator Modules Pages
RepoService.php
Go to the documentation of this file.
1 <?php
2 
19 declare(strict_types=1);
20 
21 namespace ILIAS\Export\HTML;
22 
24 
26 {
27  protected static array $instance = [];
28 
29  public function __construct(
30  protected DataService $data,
31  protected \ilDBInterface $db,
32  protected IRSSWrapper $irss
33  ) {
34  }
35 
37  {
38  return self::$instance['export_file'] ??= new ExportFileDBRepository(
39  $this->db,
40  $this->irss,
41  $this->data,
43  );
44  }
45 }
__construct(protected DataService $data, protected \ilDBInterface $db, protected IRSSWrapper $irss)
Definition: RepoService.php:29