ILIAS  trunk Revision v11.0_alpha-2638-g80c1d007f79
ILIAS\MetaData\Paths\NullPath Class Reference
+ Inheritance diagram for ILIAS\MetaData\Paths\NullPath:
+ Collaboration diagram for ILIAS\MetaData\Paths\NullPath:

Public Member Functions

 steps ()
 Get all steps in the path. More...
 
 isRelative ()
 Relative paths start at some otherwise determined element, absolute paths start at root. More...
 
 leadsToExactlyOneElement ()
 Specifies whether the path should point to exactly one element, or whether it can also lead to no or many elements. More...
 
 toString ()
 

Detailed Description

Definition at line 23 of file NullPath.php.

Member Function Documentation

◆ isRelative()

ILIAS\MetaData\Paths\NullPath::isRelative ( )

Relative paths start at some otherwise determined element, absolute paths start at root.

Implements ILIAS\MetaData\Paths\PathInterface.

Definition at line 30 of file NullPath.php.

30  : bool
31  {
32  return false;
33  }

◆ leadsToExactlyOneElement()

ILIAS\MetaData\Paths\NullPath::leadsToExactlyOneElement ( )

Specifies whether the path should point to exactly one element, or whether it can also lead to no or many elements.

Implements ILIAS\MetaData\Paths\PathInterface.

Definition at line 35 of file NullPath.php.

35  : bool
36  {
37  return false;
38  }

◆ steps()

ILIAS\MetaData\Paths\NullPath::steps ( )

Get all steps in the path.

Returns
StepInterface[]

Implements ILIAS\MetaData\Paths\PathInterface.

Definition at line 25 of file NullPath.php.

References ILIAS\ResourceStorage\Flavour\Machine\DefaultMachines\from().

25  : \Generator
26  {
27  yield from [];
28  }
+ Here is the call graph for this function:

◆ toString()

ILIAS\MetaData\Paths\NullPath::toString ( )

Implements ILIAS\MetaData\Paths\PathInterface.

Definition at line 40 of file NullPath.php.

40  : string
41  {
42  return '';
43  }

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