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\Notes;
22
24
29{
30 protected Container $DIC;
31
32 public function __construct(Container $DIC)
33 {
34 $this->DIC = $DIC;
35 }
36
40 public function internal(): InternalService
41 {
42 return new InternalService($this->DIC);
43 }
44
48 public function data(): DataService
49 {
50 return new DataService($this->internal()->data());
51 }
52
56 public function domain(): DomainService
57 {
58 return new DomainService($this->internal()->domain());
59 }
60
64 public function gui(): GUIService
65 {
66 return new GUIService($this->internal()->gui());
67 }
68}
Customizing of pimple-DIC for ILIAS.
Definition: Container.php:36
gui()
External gui service facade.
__construct(Container $DIC)
domain()
External domain service facade.
data()
Internal service, do not use in other components.
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
global $DIC
Definition: shib_login.php:26