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