ILIAS
release_9 Revision v9.13-25-g2c18ec4c24f
◀ ilDoc Overview
class.Service.php
Go to the documentation of this file.
1
<?php
2
19
declare(strict_types=1);
20
21
namespace
ILIAS\Glossary
;
22
23
use
ILIAS\DI\Container
;
24
25
class
Service
26
{
27
protected
Container
$DIC
;
28
protected
static
array
$instance
= [];
29
30
public
function
__construct
(
Container
$DIC)
31
{
32
$this->
DIC
=
$DIC
;
33
}
34
38
public
function
internal
():
InternalService
39
{
40
return
self::$instance[
"internal"
] ??
41
self::$instance[
"internal"
] =
new
InternalService
($this->
DIC
);
42
}
43
}
ILIAS\Glossary\Service\__construct
__construct(Container $DIC)
Definition:
class.Service.php:30
ILIAS\Glossary\Service
Definition:
class.Service.php:25
ILIAS\DI\Container
Customizing of pimple-DIC for ILIAS.
Definition:
Container.php:35
Container
ILIAS\Glossary\InternalService
Definition:
class.InternalService.php:25
ILIAS\Glossary\Service\$instance
static array $instance
Definition:
class.Service.php:28
ILIAS\Glossary
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
DIC
ILIAS\Glossary\Service\$DIC
Container $DIC
Definition:
class.Service.php:27
Modules
Glossary
Service
class.Service.php
Generated on Wed Sep 10 2025 14:10:40 for ILIAS by
1.8.13 (using
Doxyfile
)