ILIAS
trunk Revision v11.0_alpha-2638-g80c1d007f79
◀ ilDoc Overview
class.InternalService.php
Go to the documentation of this file.
1
<?php
2
19
declare(strict_types=1);
20
21
namespace
ILIAS\Blog
;
22
23
use
ILIAS\DI\Container
;
24
28
class
InternalService
29
{
30
protected
Container
$DIC
;
31
protected
array
$instance
= [];
32
33
public
function
__construct
(
Container
$DIC)
34
{
35
$this->
DIC
=
$DIC
;
36
}
37
38
public
function
data
():
InternalDataService
39
{
40
return
$this->instance[
"data"
] ??
41
$this->instance[
"data"
] =
new
InternalDataService
();
42
}
43
44
public
function
repo
():
InternalRepoService
45
{
46
return
$this->instance[
"repo"
] ??
47
$this->instance[
"repo"
] =
new
InternalRepoService
(
48
$this->
data
(),
49
$this->
DIC
->database()
50
);
51
}
52
53
public
function
domain
():
InternalDomainService
54
{
55
return
$this->instance[
"domain"
] ??
56
$this->instance[
"domain"
] =
new
InternalDomainService
(
57
$this->
DIC
,
58
$this->
repo
(),
59
$this->
data
()
60
);
61
}
62
63
public
function
gui
():
InternalGUIService
64
{
65
return
$this->instance[
"gui"
] ??
66
$this->instance[
"gui"
] =
new
InternalGUIService
(
67
$this->
DIC
,
68
$this->
data
(),
69
$this->
domain
()
70
);
71
}
72
}
ILIAS\Blog\InternalService\data
data()
Definition:
class.InternalService.php:38
ILIAS\Blog\InternalService\$instance
array $instance
Definition:
class.InternalService.php:31
ILIAS\Blog\InternalDomainService
Definition:
class.InternalDomainService.php:37
ILIAS\Blog\InternalService\__construct
__construct(Container $DIC)
Definition:
class.InternalService.php:33
ILIAS\DI\Container
Customizing of pimple-DIC for ILIAS.
Definition:
Container.php:35
Container
ILIAS\Blog\InternalService\domain
domain()
Definition:
class.InternalService.php:53
ILIAS\Blog\InternalService\$DIC
Container $DIC
Definition:
class.InternalService.php:30
ILIAS\Blog\InternalDataService
Definition:
class.InternalDataService.php:29
ILIAS\Blog\InternalService\repo
repo()
Definition:
class.InternalService.php:44
ILIAS\Blog
Definition:
class.StandardGUIRequest.php:21
DIC
ILIAS\Blog\InternalRepoService
Definition:
class.InternalRepoService.php:26
ILIAS\Blog\InternalGUIService
Definition:
class.InternalGUIService.php:28
ILIAS\Blog\InternalService
Definition:
class.InternalService.php:28
ILIAS\Blog\InternalService\gui
gui()
Definition:
class.InternalService.php:63
components
ILIAS
Blog
Service
class.InternalService.php
Generated on Sun Aug 31 2025 23:02:15 for ILIAS by
1.8.13 (using
Doxyfile
)