ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
class.Service.php
Go to the documentation of this file.
1<?php
2
19declare(strict_types=1);
20
21namespace ILIAS\Taxonomy;
22
24
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}
Customizing of pimple-DIC for ILIAS.
Definition: Container.php:36
domain()
External domain service.
gui()
Internal service, do not use in other components.
__construct(Container $DIC)