ILIAS  release_8 Revision v8.19-1-g4e8f2f9140c
All Data Structures Namespaces Files Functions Variables Modules Pages
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 (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...
 

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 31 of file ImmutableStringMap.php.

Member Function Documentation

◆ get()

ILIAS\FileUpload\Collection\ImmutableStringMap::get ( string  $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.
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 ( string  $key)

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

Parameters
string$keyThe key which should be checked.
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: