ILIAS  release_5-4 Revision v5.4.26-12-gabc799a52e6
ILIAS\FileUpload\Collection\ImmutableStringMap Interface Reference

Class ImmutableStringMap. More...

+ Inheritance diagram for ILIAS\FileUpload\Collection\ImmutableStringMap:
+ Collaboration diagram for ILIAS\FileUpload\Collection\ImmutableStringMap:

Public Member Functions

 get ($key)
 Returns the value of the key from the additional metadata. More...
 
 toArray ()
 Returns all currently known entries. More...
 
 has ($key)
 Probe if the key is known and associated with a value. More...
 

Detailed Description

Class ImmutableStringMap.

This interface provides the standard interface for the immutable string map implementation.

Author
Nicolas Schäfli ns@st.nosp@m.uder.nosp@m.-raim.nosp@m.ann..nosp@m.ch
Since
5.3
Version
1.0

Definition at line 18 of file ImmutableStringMap.php.

Member Function Documentation

◆ get()

ILIAS\FileUpload\Collection\ImmutableStringMap::get (   $key)

Returns the value of the key from the additional metadata.

Parameters
string$keyThe key which should be used to search the corresponding meta data value.
Returns
string
Exceptions
NoSuchElementExceptionThrown if the entry is not found with the given key.

Implemented in ILIAS\FileUpload\Collection\EntryLockingStringMap, and ILIAS\FileUpload\Collection\ImmutableMapWrapper.

◆ has()

ILIAS\FileUpload\Collection\ImmutableStringMap::has (   $key)

Probe if the key is known and associated with a value.

Parameters
string$keyThe key which should be checked.
Returns
bool
Exceptions

Implemented in ILIAS\FileUpload\Collection\EntryLockingStringMap, and ILIAS\FileUpload\Collection\ImmutableMapWrapper.

◆ toArray()

ILIAS\FileUpload\Collection\ImmutableStringMap::toArray ( )

Returns all currently known entries.

Returns
string[]
Since
5.3

Implemented in ILIAS\FileUpload\Collection\EntryLockingStringMap, and ILIAS\FileUpload\Collection\ImmutableMapWrapper.


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