ILIAS  trunk Revision v11.0_alpha-1749-g1a06bdef097
All Data Structures Namespaces Files Functions Variables Enumerations Enumerator Modules Pages
class.Service.php
Go to the documentation of this file.
1 <?php
2 
19 declare(strict_types=1);
20 
21 namespace ILIAS\Taxonomy;
22 
24 
25 class Service
26 {
27  protected Container $DIC;
28 
29  public function __construct(Container $DIC)
30  {
31  $this->DIC = $DIC;
32  }
33 
37  public function internal(): InternalService
38  {
39  return new InternalService($this->DIC);
40  }
41 
45  public function gui(): GUIService
46  {
47  return new GUIService(
48  $this->internal()->gui()
49  );
50  }
51 
55  public function domain(): DomainService
56  {
57  return new DomainService(
58  $this->internal()->domain()
59  );
60  }
61 }
function gui()
Internal service, do not use in other components.
__construct(Container $DIC)
domain()
External domain service.
Customizing of pimple-DIC for ILIAS.
Definition: Container.php:35