|
ILIAS
trunk Revision v12.0_alpha-377-g3641b37b9db
|
Class ImmutableMapWrapper. More...
Inheritance diagram for ILIAS\FileUpload\Collection\ImmutableMapWrapper:
Collaboration diagram for ILIAS\FileUpload\Collection\ImmutableMapWrapper:Public Member Functions | |
| __construct (private StringMap $map) | |
| ImmutableMapWrapper constructor. More... | |
| get (string $key) | |
| @inheritDoc More... | |
| toArray () | |
| @inheritDoc More... | |
| has (string $key) | |
| @inheritDoc More... | |
| get (string $key) | |
| Returns the value of the key from the additional metadata. More... | |
| toArray () | |
| Returns all currently known entries. More... | |
| has (string $key) | |
| Probe if the key is known and associated with a value. More... | |
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.
@Internal
Definition at line 33 of file ImmutableMapWrapper.php.
| ILIAS\FileUpload\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\FileUpload\Collection\ImmutableMapWrapper::get | ( | string | $key | ) |
@inheritDoc
Implements ILIAS\FileUpload\Collection\ImmutableStringMap.
Definition at line 50 of file ImmutableMapWrapper.php.
| ILIAS\FileUpload\Collection\ImmutableMapWrapper::has | ( | string | $key | ) |
@inheritDoc
Implements ILIAS\FileUpload\Collection\ImmutableStringMap.
Definition at line 68 of file ImmutableMapWrapper.php.
| ILIAS\FileUpload\Collection\ImmutableMapWrapper::toArray | ( | ) |
@inheritDoc
Implements ILIAS\FileUpload\Collection\ImmutableStringMap.
Definition at line 59 of file ImmutableMapWrapper.php.