1 | <?php |
||
5 | class Collection implements \ArrayAccess, \Countable, \IteratorAggregate |
||
6 | { |
||
7 | /** @var array */ |
||
8 | protected $collection = []; |
||
9 | |||
10 | public function offsetExists($offset) |
||
14 | |||
15 | public function offsetGet($offset) |
||
19 | |||
20 | public function offsetSet($offset, $value) |
||
28 | |||
29 | public function offsetUnset($offset) |
||
33 | |||
34 | public function count() |
||
38 | |||
39 | public function getIterator() |
||
43 | } |
||
44 |