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

Public Member Functions

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

Protected Attributes

Container $DIC
 
array $instance = []
 

Detailed Description

Author
Alexander Killing killi.nosp@m.ng@l.nosp@m.eifos.nosp@m..de

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

Constructor & Destructor Documentation

◆ __construct()

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

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

34 {
35 $this->DIC = $DIC;
36 }

References ILIAS\Blog\InternalService\$DIC.

Member Function Documentation

◆ data()

ILIAS\Blog\InternalService::data ( )

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

38 : InternalDataService
39 {
40 return $this->instance["data"] ??
41 $this->instance["data"] = new InternalDataService();
42 }

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

+ Here is the caller graph for this function:

◆ domain()

ILIAS\Blog\InternalService::domain ( )

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

53 : InternalDomainService
54 {
55 return $this->instance["domain"] ??
56 $this->instance["domain"] = new InternalDomainService(
57 $this->DIC,
58 $this->repo(),
59 $this->data()
60 );
61 }

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

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

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

◆ gui()

ILIAS\Blog\InternalService::gui ( )

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

63 : InternalGUIService
64 {
65 return $this->instance["gui"] ??
66 $this->instance["gui"] = new InternalGUIService(
67 $this->DIC,
68 $this->data(),
69 $this->domain()
70 );
71 }

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

+ Here is the call graph for this function:

◆ repo()

ILIAS\Blog\InternalService::repo ( )

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

44 : InternalRepoService
45 {
46 return $this->instance["repo"] ??
47 $this->instance["repo"] = new InternalRepoService(
48 $this->data(),
49 $this->DIC->database()
50 );
51 }

References ILIAS\Blog\InternalService\data().

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

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

Field Documentation

◆ $DIC

Container ILIAS\Blog\InternalService::$DIC
protected

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

Referenced by ILIAS\Blog\InternalService\__construct().

◆ $instance

array ILIAS\Blog\InternalService::$instance = []
protected

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


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