ILIAS
trunk Revision v11.0_alpha-2645-g16283d3b3f8
◀ ilDoc Overview
Services.php
Go to the documentation of this file.
1
<?php
2
19
declare(strict_types=1);
20
21
namespace
ILIAS\MetaData\Paths\Services
;
22
23
use
ILIAS\MetaData\Paths\FactoryInterface
;
24
use
ILIAS\MetaData\Paths\Factory
;
25
use
ILIAS\MetaData\Paths\Navigator\NavigatorFactoryInterface
;
26
use
ILIAS\MetaData\Paths\Navigator\NavigatorFactory
;
27
use
ILIAS\MetaData\Paths\Steps\NavigatorBridge
;
28
use
ILIAS\MetaData\Structure\Services\Services
as StructureServices;
29
30
class
Services
31
{
32
protected
FactoryInterface
$path_factory
;
33
protected
NavigatorFactoryInterface
$navigator_factory
;
34
35
protected
StructureServices
$structure_services
;
36
37
public
function
__construct
(
38
StructureServices $structure_services
39
) {
40
$this->structure_services =
$structure_services
;
41
}
42
43
public
function
pathFactory
():
FactoryInterface
44
{
45
if
(isset($this->path_factory)) {
46
return
$this->path_factory
;
47
}
48
return
$this->path_factory =
new
Factory
(
49
$this->structure_services->structure()
50
);
51
}
52
53
public
function
navigatorFactory
():
NavigatorFactoryInterface
54
{
55
if
(isset($this->navigator_factory)) {
56
return
$this->navigator_factory
;
57
}
58
return
$this->navigator_factory =
new
NavigatorFactory
(
59
new
NavigatorBridge
()
60
);
61
}
62
}
ILIAS\MetaData\Paths\Factory
Definition:
Factory.php:29
FactoryInterface
NavigatorFactory
ILIAS\MetaData\Paths\Services\Services\pathFactory
pathFactory()
Definition:
Services.php:43
ILIAS\MetaData\Paths\Services\Services\$path_factory
FactoryInterface $path_factory
Definition:
Services.php:32
Factory
Services
ILIAS\MetaData\Structure\Services\Services
Definition:
Services.php:28
NavigatorBridge
ILIAS\MetaData\Paths\Steps\NavigatorBridge
Definition:
NavigatorBridge.php:31
ILIAS\MetaData\Paths\Services\Services\$structure_services
StructureServices $structure_services
Definition:
Services.php:35
NavigatorFactoryInterface
ILIAS\MetaData\Paths\Services\Services\$navigator_factory
NavigatorFactoryInterface $navigator_factory
Definition:
Services.php:33
ILIAS\MetaData\Paths\FactoryInterface
Definition:
FactoryInterface.php:25
ILIAS\MetaData\Paths\Navigator\NavigatorFactoryInterface
Definition:
NavigatorFactoryInterface.php:27
ILIAS\MetaData\Paths\Services
Definition:
Services.php:21
ILIAS\MetaData\Paths\Services\Services\__construct
__construct(StructureServices $structure_services)
Definition:
Services.php:37
ILIAS\MetaData\Paths\Services\Services\navigatorFactory
navigatorFactory()
Definition:
Services.php:53
components
ILIAS
MetaData
classes
Paths
Services
Services.php
Generated on Mon Sep 1 2025 23:02:12 for ILIAS by
1.8.13 (using
Doxyfile
)