Definition at line 32 of file LOMStructureInitiator.php.
◆ __construct()
◆ getStructureRoot()
| ILIAS\MetaData\Structure\LOMStructureInitiator::getStructureRoot |
( |
| ) |
|
|
protected |
◆ getSubElements()
| ILIAS\MetaData\Structure\LOMStructureInitiator::getSubElements |
( |
int |
$depth, |
|
|
ReaderInterface ... |
$readers |
|
) |
| |
|
protected |
- Returns
- Generator<StructureElement>
- Exceptions
-
Definition at line 60 of file LOMStructureInitiator.php.
63 : Generator {
64 if ($depth > 20) {
66 }
67 foreach ($readers as $reader) {
68 yield $this->structure_factory->structure(
69 $reader->definition(),
70 ...$this->getSubElements($depth + 1, ...$reader->subDefinitions())
71 );
72 }
73 }
◆ set()
| ILIAS\MetaData\Structure\LOMStructureInitiator::set |
( |
| ) |
|
The documentation for this class was generated from the following file: