ILIAS
release_5-3 Revision v5.3.23-19-g915713cf615
|
Class ImmutableMapWrapper. More...
Public Member Functions | |
__construct (StringMap $map) | |
ImmutableMapWrapper constructor. More... | |
get ($key) | |
toArray () | |
has ($key) | |
Private Attributes | |
$map | |
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 17 of file ImmutableMapWrapper.php.
ILIAS\FileUpload\Collection\ImmutableMapWrapper::__construct | ( | StringMap | $map | ) |
ImmutableMapWrapper constructor.
StringMap | $map | The mutable map which should be wrapped. |
Definition at line 33 of file ImmutableMapWrapper.php.
References ILIAS\FileUpload\Collection\ImmutableMapWrapper\$map.
ILIAS\FileUpload\Collection\ImmutableMapWrapper::get | ( | $key | ) |
Implements ILIAS\FileUpload\Collection\ImmutableStringMap.
Definition at line 42 of file ImmutableMapWrapper.php.
References $key.
ILIAS\FileUpload\Collection\ImmutableMapWrapper::has | ( | $key | ) |
Implements ILIAS\FileUpload\Collection\ImmutableStringMap.
Definition at line 60 of file ImmutableMapWrapper.php.
References $key.
ILIAS\FileUpload\Collection\ImmutableMapWrapper::toArray | ( | ) |
Implements ILIAS\FileUpload\Collection\ImmutableStringMap.
Definition at line 51 of file ImmutableMapWrapper.php.
|
private |
Definition at line 23 of file ImmutableMapWrapper.php.
Referenced by ILIAS\FileUpload\Collection\ImmutableMapWrapper\__construct().