ILIAS
trunk Revision v11.0_alpha-2638-g80c1d007f79
◀ 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\Service
Definition:
class.Service.php:28
ILIAS\Blog\Service\$DIC
Container $DIC
Definition:
class.Service.php:30
ILIAS\Blog\Service\__construct
__construct(Container $DIC)
Definition:
class.Service.php:33
ILIAS\DI\Container
Customizing of pimple-DIC for ILIAS.
Definition:
Container.php:35
Container
ILIAS\Blog\Service\$instance
static array $instance
Definition:
class.Service.php:31
ILIAS\Blog
Definition:
class.StandardGUIRequest.php:21
DIC
ILIAS\Blog\InternalService
Definition:
class.InternalService.php:28
components
ILIAS
Blog
Service
class.Service.php
Generated on Sun Aug 31 2025 23:02:16 for ILIAS by
1.8.13 (using
Doxyfile
)