ILIAS
trunk Revision v12.0_alpha-377-g3641b37b9db
◀ ilDoc Overview
class.InternalService.php
Go to the documentation of this file.
1
<?php
2
19
declare(strict_types=1);
20
21
namespace
ILIAS\MediaCast
;
22
23
use
ILIAS\DI\Container
;
24
25
class
InternalService
26
{
27
protected
array
$instance
= [];
28
29
public
function
__construct
(
protected
Container
$DIC
)
30
{
31
}
32
33
public
function
data
():
InternalDataService
34
{
35
return
$this->instance[
"data"
] ??=
new
InternalDataService
();
36
}
37
38
public
function
repo
():
InternalRepoService
39
{
40
return
$this->instance[
"repo"
] ??=
new
InternalRepoService
(
41
$this->
data
(),
42
$this->DIC->database()
43
);
44
}
45
46
public
function
domain
():
InternalDomainService
47
{
48
return
$this->instance[
"domain"
] ??=
new
InternalDomainService
(
49
$this->DIC,
50
$this->
repo
(),
51
$this->
data
()
52
);
53
}
54
55
public
function
gui
():
InternalGUIService
56
{
57
return
$this->instance[
"gui"
] ??=
new
InternalGUIService
(
58
$this->DIC,
59
$this->
data
(),
60
$this->
domain
()
61
);
62
}
63
}
ILIAS\DI\Container
Customizing of pimple-DIC for ILIAS.
Definition:
Container.php:36
ILIAS\MediaCast\InternalDataService
Definition:
class.InternalDataService.php:26
ILIAS\MediaCast\InternalDomainService
Definition:
class.InternalDomainService.php:29
ILIAS\MediaCast\InternalGUIService
Definition:
class.InternalGUIService.php:32
ILIAS\MediaCast\InternalRepoService
Definition:
class.InternalRepoService.php:26
ILIAS\MediaCast\InternalService
Definition:
class.InternalService.php:26
ILIAS\MediaCast\InternalService\domain
domain()
Definition:
class.InternalService.php:46
ILIAS\MediaCast\InternalService\repo
repo()
Definition:
class.InternalService.php:38
ILIAS\MediaCast\InternalService\$instance
array $instance
Definition:
class.InternalService.php:27
ILIAS\MediaCast\InternalService\__construct
__construct(protected Container $DIC)
Definition:
class.InternalService.php:29
ILIAS\MediaCast\InternalService\data
data()
Definition:
class.InternalService.php:33
ILIAS\MediaCast\InternalService\gui
gui()
Definition:
class.InternalService.php:55
ILIAS\MediaCast
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
$DIC
global $DIC
Definition:
shib_login.php:26
components
ILIAS
MediaCast
Service
class.InternalService.php
Generated on Sat Dec 13 2025 23:01:53 for ILIAS by
1.9.4 (using
Doxyfile
)