ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
ILIAS\Container\InternalService Class Reference
+ Collaboration diagram for ILIAS\Container\InternalService:

Public Member Functions

 __construct (protected Container $DIC)
 
 data ()
 
 repo ()
 
 domain ()
 
 gui ()
 

Static Protected Attributes

static array $instance = []
 

Detailed Description

Definition at line 25 of file class.InternalService.php.

Constructor & Destructor Documentation

◆ __construct()

ILIAS\Container\InternalService::__construct ( protected Container  $DIC)

Definition at line 29 of file class.InternalService.php.

31 {
32 }

Member Function Documentation

◆ data()

ILIAS\Container\InternalService::data ( )

Definition at line 34 of file class.InternalService.php.

34 : InternalDataService
35 {
36 return self::$instance["data"] ??= new InternalDataService();
37 }

Referenced by ILIAS\Container\InternalService\domain(), ILIAS\Container\InternalService\gui(), and ILIAS\Container\InternalService\repo().

+ Here is the caller graph for this function:

◆ domain()

ILIAS\Container\InternalService::domain ( )

Definition at line 47 of file class.InternalService.php.

47 : InternalDomainService
48 {
49 return self::$instance["domain"] ??= new InternalDomainService(
50 $this->DIC,
51 $this->repo(),
52 $this->data(),
53 );
54 }

References ILIAS\Container\InternalService\data(), and ILIAS\Container\InternalService\repo().

Referenced by ILIAS\Container\InternalService\gui().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ gui()

ILIAS\Container\InternalService::gui ( )

Definition at line 56 of file class.InternalService.php.

56 : InternalGUIService
57 {
58 return self::$instance["gui"] ??= new InternalGUIService(
59 $this->DIC,
60 $this->data(),
61 $this->domain()
62 );
63 }

References ILIAS\Container\InternalService\data(), and ILIAS\Container\InternalService\domain().

+ Here is the call graph for this function:

◆ repo()

ILIAS\Container\InternalService::repo ( )

Definition at line 39 of file class.InternalService.php.

39 : InternalRepoService
40 {
41 return self::$instance["repo"] ??= new InternalRepoService(
42 $this->data(),
43 $this->DIC->database()
44 );
45 }

References ILIAS\Container\InternalService\data().

Referenced by ILIAS\Container\InternalService\domain().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

Field Documentation

◆ $instance

array ILIAS\Container\InternalService::$instance = []
staticprotected

Definition at line 27 of file class.InternalService.php.


The documentation for this class was generated from the following file: