ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
NullStep.php
Go to the documentation of this file.
1<?php
2
19declare(strict_types=1);
20
22
23class NullStep implements StepInterface
24{
25 public function name(): string|StepToken
26 {
27 return '';
28 }
29
30 public function filters(): \Generator
31 {
32 yield from [];
33 }
34}
name()
Steps are identified by the names of LOM elements, or a token to specify a step to the super-element.
Definition: NullStep.php:25
filters()
Filters restrict the elements a step leads to.
Definition: NullStep.php:30
StepToken
The string representation of these tokens must not occur as names of metadata elements.
Definition: StepToken.php:28