ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
class.InternalDomainService.php
Go to the documentation of this file.
1<?php
2
19declare(strict_types=1);
20
21namespace ILIAS\Export;
22
24
26{
27 use GlobalDICDomainServices;
28 protected static array $instance = [];
29
30 public function __construct(
31 protected InternalRepoService $repo,
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}
__construct(protected InternalRepoService $repo, protected InternalDataService $data)
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:26