ILIAS
trunk Revision v11.0_alpha-3011-gc6b235a2e85
◀ ilDoc Overview
class.Service.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
Service
29
{
30
protected
Container
$DIC
;
31
protected
static
array
$instance
= [];
32
33
public
function
__construct
(
Container
$DIC
)
34
{
35
$this->DIC =
$DIC
;
36
}
37
41
public
function
internal
():
InternalService
42
{
43
return
self::$instance[
"internal"
] ??
44
self::$instance[
"internal"
] =
new
InternalService
($this->DIC);
45
}
46
}
ILIAS\Blog\InternalService
Definition:
class.InternalService.php:29
ILIAS\Blog\Service
Definition:
class.Service.php:29
ILIAS\Blog\Service\$instance
static array $instance
Definition:
class.Service.php:31
ILIAS\Blog\Service\__construct
__construct(Container $DIC)
Definition:
class.Service.php:33
ILIAS\Blog\Service\$DIC
Container $DIC
Definition:
class.Service.php:30
ILIAS\DI\Container
Customizing of pimple-DIC for ILIAS.
Definition:
Container.php:36
ILIAS\Blog
Definition:
class.StandardGUIRequest.php:21
components
ILIAS
Blog
Service
class.Service.php
Generated on Sat Oct 18 2025 23:02:35 for ILIAS by
1.9.4 (using
Doxyfile
)