1 | <?php |
||
11 | class Set extends AbstractConstCollectionArray implements SetInterface, \ArrayAccess |
||
12 | { |
||
13 | use GuardTrait, |
||
14 | StrictKeyedIterableTrait; |
||
15 | |||
16 | /** |
||
17 | * @inheritDoc |
||
18 | */ |
||
19 | public function contains($item) |
||
23 | |||
24 | /** |
||
25 | * @inheritDoc |
||
26 | */ |
||
27 | public function addAll($items) |
||
35 | |||
36 | /** |
||
37 | * {@inheritdoc} |
||
38 | */ |
||
39 | public function remove($element) |
||
46 | |||
47 | /** |
||
48 | * @inheritDoc |
||
49 | */ |
||
50 | public function getIterator() |
||
54 | |||
55 | /** |
||
56 | * @inheritDoc |
||
57 | */ |
||
58 | public function add($item) |
||
68 | |||
69 | /** |
||
70 | * @inheritDoc |
||
71 | */ |
||
72 | public function removeAll(Iterable $iterable) |
||
82 | |||
83 | /** |
||
84 | * {@inheritdoc} |
||
85 | */ |
||
86 | public function offsetExists($offset) |
||
90 | |||
91 | /** |
||
92 | * {@inheritdoc} |
||
93 | */ |
||
94 | public function offsetGet($offset) |
||
98 | |||
99 | /** |
||
100 | * {@inheritdoc} |
||
101 | */ |
||
102 | public function offsetSet($offset, $value) |
||
110 | |||
111 | /** |
||
112 | * {@inheritdoc} |
||
113 | */ |
||
114 | public function offsetUnset($offset) |
||
118 | |||
119 | /** |
||
120 | * {@inheritDoc} |
||
121 | * @return $this |
||
122 | */ |
||
123 | public function concat($iterable) |
||
133 | } |
||
134 |