ILIAS
release_10 Revision v10.1-43-ga1241a92c2f
◀ ilDoc Overview
ImmutableMapWrapper.php
Go to the documentation of this file.
1
<?php
2
3
namespace
ILIAS\FileUpload\Collection
;
4
5
/******************************************************************************
6
*
7
* This file is part of ILIAS, a powerful learning management system.
8
*
9
* ILIAS is licensed with the GPL-3.0, you should have received a copy
10
* of said license along with the source code.
11
*
12
* If this is not the case or you just want to try ILIAS, you'll find
13
* us at:
14
* https://www.ilias.de
15
* https://github.com/ILIAS-eLearning
16
*
17
*****************************************************************************/
30
final
class
ImmutableMapWrapper
implements
ImmutableStringMap
31
{
32
private \ILIAS\FileUpload\Collection\StringMap
$map
;
33
34
42
public
function
__construct
(
StringMap
$map)
43
{
44
$this->map =
$map
;
45
}
46
47
51
public
function
get
(
string
$key):
string
52
{
53
return
$this->map->get($key);
54
}
55
56
60
public
function
toArray
(): array
61
{
62
return
$this->map->toArray();
63
}
64
65
69
public
function
has
(
string
$key): bool
70
{
71
return
$this->map->has($key);
72
}
73
}
ILIAS\Export\ImportHandler\Parser\NodeInfo\Collection\ImmutableMapWrapper\__construct
__construct(StringMap $map)
ImmutableMapWrapper constructor.
Definition:
ImmutableMapWrapper.php:42
ILIAS\FileUpload\Collection
Definition:
EntryLockingStringMap.php:3
ILIAS\Export\ImportHandler\Parser\NodeInfo\Collection\StringMap
Class StringMap.
Definition:
StringMap.php:30
ILIAS\Export\ImportHandler\Parser\NodeInfo\Collection\ImmutableStringMap
Class ImmutableStringMap.
Definition:
ImmutableStringMap.php:31
ILIAS\Export\ImportHandler\Parser\NodeInfo\Collection\ImmutableMapWrapper\toArray
toArray()
Definition:
ImmutableMapWrapper.php:60
ILIAS\Export\ImportHandler\Parser\NodeInfo\Collection\ImmutableMapWrapper
Class ImmutableMapWrapper.
Definition:
ImmutableMapWrapper.php:30
ILIAS\Export\ImportHandler\Parser\NodeInfo\Collection\ImmutableMapWrapper\has
has(string $key)
Definition:
ImmutableMapWrapper.php:69
ILIAS\Export\ImportHandler\Parser\NodeInfo\Collection\ImmutableMapWrapper\$map
ILIAS FileUpload Collection StringMap $map
Definition:
ImmutableMapWrapper.php:32
components
ILIAS
FileUpload
src
Collection
ImmutableMapWrapper.php
Generated on Wed Sep 10 2025 15:15:38 for ILIAS by
1.8.13 (using
Doxyfile
)