ILIAS  trunk Revision v11.0_alpha-1744-gb0451eebef4
All Data Structures Namespaces Files Functions Variables Enumerations Enumerator Modules Pages
ILIAS\Export\ImportHandler\Parser\NodeInfo\Collection\ImmutableStringMap Interface Reference

Class ImmutableStringMap. More...

+ Inheritance diagram for ILIAS\Export\ImportHandler\Parser\NodeInfo\Collection\ImmutableStringMap:
+ Collaboration diagram for ILIAS\Export\ImportHandler\Parser\NodeInfo\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 34 of file ImmutableStringMap.php.

Member Function Documentation

◆ get()

ILIAS\Export\ImportHandler\Parser\NodeInfo\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\Export\ImportHandler\Parser\NodeInfo\Collection\EntryLockingStringMap, and ILIAS\Export\ImportHandler\Parser\NodeInfo\Collection\ImmutableMapWrapper.

◆ has()

ILIAS\Export\ImportHandler\Parser\NodeInfo\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\Export\ImportHandler\Parser\NodeInfo\Collection\EntryLockingStringMap, and ILIAS\Export\ImportHandler\Parser\NodeInfo\Collection\ImmutableMapWrapper.

◆ toArray()

ILIAS\Export\ImportHandler\Parser\NodeInfo\Collection\ImmutableStringMap::toArray ( )

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