ILIAS  release_10 Revision v10.1-43-ga1241a92c2f
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  }
36 
37  public function exportFile() : ExportFileDBRepository
38  {
39  return self::$instance['export_file'] ??= new ExportFileDBRepository(
40  $this->db,
41  $this->irss,
42  $this->data,
44  );
45  }
46 }
__construct(protected DataService $data, protected \ilDBInterface $db, protected IRSSWrapper $irss)
Definition: RepoService.php:29