ILIAS  trunk Revision v11.0_alpha-1811-gd2d5443e411
All Data Structures Namespaces Files Functions Variables Enumerations Enumerator Modules Pages
class.InternalRepoService.php
Go to the documentation of this file.
1 <?php
2 
19 declare(strict_types=1);
20 
21 namespace ILIAS\Export;
22 
24 
26 {
27  use RepoServiceBase;
28 
29  protected static array $instance = [];
30 
31  public function __construct(
32  protected InternalDataService $data,
33  protected \ilDBInterface $db
34  ) {
35  }
36 
37  public function html(): HTML\RepoService
38  {
39  return self::$instance['html'] ??= new HTML\RepoService(
40  $this->data->html(),
41  $this->db,
42  $this->irss()
43  );
44  }
45 }
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
__construct(protected InternalDataService $data, protected \ilDBInterface $db)