ILIAS
trunk Revision v11.0_alpha-3011-gc6b235a2e85
◀ ilDoc Overview
Services.php
Go to the documentation of this file.
1
<?php
2
19
declare(strict_types=1);
20
21
namespace
ILIAS\MetaData\Structure\Services
;
22
23
use
ILIAS\MetaData\Elements\Structure\StructureSetInterface
;
24
use
ILIAS\MetaData\Structure\LOMStructureInitiator
;
25
use
ILIAS\MetaData\Structure\Definitions\LOMReaderFactory
;
26
use
ILIAS\MetaData\Elements\Structure\StructureFactory
;
27
28
class
Services
29
{
30
protected
StructureSetInterface
$structure
;
31
32
public
function
structure
():
StructureSetInterface
33
{
34
if
(isset($this->
structure
)) {
35
return
$this->structure
;
36
}
37
return
$this->
structure
= (
new
LOMStructureInitiator
(
38
new
LOMReaderFactory
(),
39
new
StructureFactory
()
40
))->
set
();
41
}
42
}
ILIAS\MetaData\Elements\Structure\StructureFactory
Definition:
StructureFactory.php:26
ILIAS\MetaData\Structure\Definitions\LOMReaderFactory
Definition:
LOMReaderFactory.php:24
ILIAS\MetaData\Structure\LOMStructureInitiator
Definition:
LOMStructureInitiator.php:35
ILIAS\MetaData\Structure\Services\Services
Definition:
Services.php:29
ILIAS\MetaData\Structure\Services\Services\structure
structure()
Definition:
Services.php:32
ILIAS\MetaData\Structure\Services\Services\$structure
StructureSetInterface $structure
Definition:
Services.php:30
ILIAS\MetaData\Elements\Structure\StructureSetInterface
Definition:
StructureSetInterface.php:26
ILIAS\MetaData\Structure\Services
Definition:
Services.php:21
components
ILIAS
MetaData
classes
Structure
Services
Services.php
Generated on Sat Oct 18 2025 23:02:27 for ILIAS by
1.9.4 (using
Doxyfile
)