ILIAS  trunk Revision v11.0_alpha-1769-g99a433fe2dc
All Data Structures Namespaces Files Functions Variables Enumerations Enumerator Modules Pages
ILIAS\MetaData\Paths\Steps\Step Class Reference
+ Inheritance diagram for ILIAS\MetaData\Paths\Steps\Step:
+ Collaboration diagram for ILIAS\MetaData\Paths\Steps\Step:

Public Member Functions

 __construct (string|StepToken $name, FilterInterface ... $filters)
 
 name ()
 Steps are identified by the names of LOM elements, or a token to specify a step to the super-element. More...
 
 filters ()
 

Protected Attributes

string StepToken $name
 
array $filters
 

Detailed Description

Definition at line 25 of file Step.php.

Constructor & Destructor Documentation

◆ __construct()

ILIAS\MetaData\Paths\Steps\Step::__construct ( string|StepToken  $name,
FilterInterface ...  $filters 
)

Definition at line 33 of file Step.php.

References ILIAS\MetaData\Paths\Steps\Step\$filters, ILIAS\MetaData\Paths\Steps\Step\$name, ILIAS\MetaData\Paths\Steps\Step\filters(), and ILIAS\MetaData\Paths\Steps\Step\name().

36  {
37  $this->name = $name;
38  $this->filters = $filters;
39  }
name()
Steps are identified by the names of LOM elements, or a token to specify a step to the super-element...
Definition: Step.php:41
string StepToken $name
Definition: Step.php:27
+ Here is the call graph for this function:

Member Function Documentation

◆ filters()

ILIAS\MetaData\Paths\Steps\Step::filters ( )
Returns
FilterInterface[]

Implements ILIAS\MetaData\Paths\Steps\StepInterface.

Definition at line 49 of file Step.php.

References ILIAS\MetaData\Paths\Steps\Step\$filters, and ILIAS\ResourceStorage\Flavour\Machine\DefaultMachines\from().

Referenced by ILIAS\MetaData\Paths\Steps\Step\__construct().

49  : \Generator
50  {
51  yield from $this->filters;
52  }
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ name()

ILIAS\MetaData\Paths\Steps\Step::name ( )

Steps are identified by the names of LOM elements, or a token to specify a step to the super-element.

Implements ILIAS\MetaData\Paths\Steps\StepInterface.

Definition at line 41 of file Step.php.

References ILIAS\MetaData\Paths\Steps\Step\$name.

Referenced by ILIAS\MetaData\Paths\Steps\Step\__construct().

41  : string|StepToken
42  {
43  return $this->name;
44  }
string StepToken $name
Definition: Step.php:27
StepToken
The string representation of these tokens must not occur as names of metadata elements.
Definition: StepToken.php:27
+ Here is the caller graph for this function:

Field Documentation

◆ $filters

array ILIAS\MetaData\Paths\Steps\Step::$filters
protected

◆ $name

string StepToken ILIAS\MetaData\Paths\Steps\Step::$name
protected

The documentation for this class was generated from the following file: