1 | <?php |
||
10 | abstract class AbstractImmutableCollection extends AbstractCollection implements ImmutableCollectionInterface |
||
11 | { |
||
12 | /** |
||
13 | * @inheritdoc |
||
14 | */ |
||
15 | public function add($value) |
||
19 | |||
20 | /** |
||
21 | * @inheritdoc |
||
22 | */ |
||
23 | public function set($key, $value) |
||
27 | |||
28 | /** |
||
29 | * @inheritdoc |
||
30 | */ |
||
31 | public function remove($value) |
||
35 | |||
36 | /** |
||
37 | * @inheritdoc |
||
38 | */ |
||
39 | public function removeKey($key) |
||
43 | |||
44 | /** |
||
45 | * @throws ImmutableCollectionMutateException |
||
46 | */ |
||
47 | protected function throwException() |
||
51 | } |
||
52 |