ILIAS  trunk Revision v11.0_alpha-2645-g16283d3b3f8
ILIAS\Glossary\InternalService Class Reference
+ Collaboration diagram for ILIAS\Glossary\InternalService:

Public Member Functions

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

Protected Attributes

Container $DIC
 
array $instance = []
 

Detailed Description

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

Constructor & Destructor Documentation

◆ __construct()

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

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

References ILIAS\Glossary\InternalService\$DIC.

31  {
32  $this->DIC = $DIC;
33  }

Member Function Documentation

◆ data()

ILIAS\Glossary\InternalService::data ( )

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

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

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

◆ domain()

ILIAS\Glossary\InternalService::domain ( )

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

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

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

50  : InternalDomainService
51  {
52  return $this->instance["domain"] ??
53  $this->instance["domain"] = new InternalDomainService(
54  $this->DIC,
55  $this->repo(),
56  $this->data()
57  );
58  }
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ gui()

ILIAS\Glossary\InternalService::gui ( )

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

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

60  : InternalGUIService
61  {
62  return $this->instance["gui"] ??
63  $this->instance["gui"] = new InternalGUIService(
64  $this->DIC,
65  $this->data(),
66  $this->domain()
67  );
68 
69  }
+ Here is the call graph for this function:

◆ repo()

ILIAS\Glossary\InternalService::repo ( )

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

References ILIAS\Glossary\InternalService\data().

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

41  : InternalRepoService
42  {
43  return $this->instance["repo"] ??
44  $this->instance["repo"] = new InternalRepoService(
45  $this->data(),
46  $this->DIC->database()
47  );
48  }
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

Field Documentation

◆ $DIC

Container ILIAS\Glossary\InternalService::$DIC
protected

◆ $instance

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

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


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