ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
ImmutableMapWrapper.php
Go to the documentation of this file.
1<?php
2
20
34{
42 public function __construct(private StringMap $map)
43 {
44 }
45
46
50 public function get(string $key): string
51 {
52 return $this->map->get($key);
53 }
54
55
59 public function toArray(): array
60 {
61 return $this->map->toArray();
62 }
63
64
68 public function has(string $key): bool
69 {
70 return $this->map->has($key);
71 }
72}
__construct(private StringMap $map)
ImmutableMapWrapper constructor.
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...