1 | <?php |
||
11 | trait HasDataTrait |
||
12 | { |
||
13 | /** @var array Data stored in the collection. */ |
||
14 | protected $data; |
||
15 | |||
16 | public function __toString() |
||
20 | |||
21 | public function __debugInfo() |
||
25 | |||
26 | public function offsetExists($offset) |
||
30 | |||
31 | public function offsetGet($offset) |
||
35 | |||
36 | public function offsetSet($offset, $value) |
||
40 | |||
41 | public function offsetUnset($offset) |
||
45 | |||
46 | public function count() |
||
50 | |||
51 | public function getIterator() |
||
55 | |||
56 | public function toArray() |
||
60 | } |
||
61 |