ILIAS  release_7 Revision v7.30-3-g800a261c036
ILIAS\FileUpload\Collection\StringMap Interface Reference

Class StringMap. More...

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

Public Member Functions

 put ($key, $value)
 Puts a new key value pair into the string array. More...
 
- Public Member Functions inherited from ILIAS\FileUpload\Collection\ImmutableStringMap
 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 StringMap.

This interface provides the standard interface for the mutable string map implementation. Maps in general are collections which map a key to value.

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 17 of file StringMap.php.

Member Function Documentation

◆ put()

ILIAS\FileUpload\Collection\StringMap::put (   $key,
  $value 
)

Puts a new key value pair into the string array.

Parameters
string$keyThe key which should be put into the map.
string$valueThe value which should be associated with the given key.
Returns
void
Exceptions

InvalidArgumentException Thrown if the key or value is not of the type string.

Since
5.3

Implemented in ILIAS\FileUpload\Collection\EntryLockingStringMap.


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