ILIAS
trunk Revision v11.0_alpha-1862-g4e205cb56d4
|
Class ImmutableMapWrapper. More...
Public Member Functions | |
__construct (private StringMap $map) | |
ImmutableMapWrapper constructor. More... | |
get (string $key) | |
toArray () | |
has (string $key) | |
Class ImmutableMapWrapper.
This class is used to wrap mutable maps to make them immutable and stops the user of the api to cast the list back to a mutable one.
Definition at line 33 of file ImmutableMapWrapper.php.
ILIAS\Export\ImportHandler\Parser\NodeInfo\Collection\ImmutableMapWrapper::__construct | ( | private StringMap | $map | ) |
ImmutableMapWrapper constructor.
StringMap | $map | The mutable map which should be wrapped. |
Definition at line 42 of file ImmutableMapWrapper.php.
ILIAS\Export\ImportHandler\Parser\NodeInfo\Collection\ImmutableMapWrapper::get | ( | string | $key | ) |
Implements ILIAS\Export\ImportHandler\Parser\NodeInfo\Collection\ImmutableStringMap.
Definition at line 50 of file ImmutableMapWrapper.php.
ILIAS\Export\ImportHandler\Parser\NodeInfo\Collection\ImmutableMapWrapper::has | ( | string | $key | ) |
Implements ILIAS\Export\ImportHandler\Parser\NodeInfo\Collection\ImmutableStringMap.
Definition at line 68 of file ImmutableMapWrapper.php.
ILIAS\Export\ImportHandler\Parser\NodeInfo\Collection\ImmutableMapWrapper::toArray | ( | ) |
Implements ILIAS\Export\ImportHandler\Parser\NodeInfo\Collection\ImmutableStringMap.
Definition at line 59 of file ImmutableMapWrapper.php.