ILIAS  release_6 Revision v6.24-5-g0c8bfefb3b8
ImmutableMapWrapper.php
Go to the documentation of this file.
1<?php
2
4
18{
19
23 private $map;
24
25
33 public function __construct(StringMap $map)
34 {
35 $this->map = $map;
36 }
37
38
42 public function get($key)
43 {
44 return $this->map->get($key);
45 }
46
47
51 public function toArray()
52 {
53 return $this->map->toArray();
54 }
55
56
60 public function has($key)
61 {
62 return $this->map->has($key);
63 }
64}
An exception for terminatinating execution or to throw for unit testing.
__construct(StringMap $map)
ImmutableMapWrapper constructor.