| 1 | <?php |
||
| 8 | class Map implements MapInterface |
||
| 9 | { |
||
| 10 | /** |
||
| 11 | * @var array |
||
| 12 | */ |
||
| 13 | private $map = []; |
||
| 14 | |||
| 15 | /** |
||
| 16 | * {@inheritdoc} |
||
| 17 | * @throws InvalidArgumentException |
||
| 18 | */ |
||
| 19 | public function set($key, $value) |
||
| 29 | |||
| 30 | /** |
||
| 31 | * {@inheritdoc} |
||
| 32 | * @throws OutOfBoundsException |
||
| 33 | */ |
||
| 34 | public function get($key) |
||
| 42 | |||
| 43 | public function has($key) |
||
| 47 | |||
| 48 | public function getKeys() |
||
| 52 | |||
| 53 | public function getIterator() |
||
| 57 | } |
||
| 58 |