ILIAS  trunk Revision v11.0_alpha-1761-g6dbbfa7b760
All Data Structures Namespaces Files Functions Variables Enumerations Enumerator Modules Pages
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.

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

34  : InternalDataService
35  {
36  return self::$instance["data"] ??= new InternalDataService();
37  }
+ Here is the caller graph for this function:

◆ domain()

ILIAS\Container\InternalService::domain ( )

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

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

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

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

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

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

◆ repo()

ILIAS\Container\InternalService::repo ( )

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

References ILIAS\Container\InternalService\data().

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

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