1 | <?php |
||
5 | trait ArrayAccessAble |
||
6 | { |
||
7 | protected $offset = []; |
||
8 | |||
9 | /** |
||
10 | * ArrayAccess Implementations |
||
11 | */ |
||
12 | |||
13 | /** |
||
14 | * {@inheritdoc} |
||
15 | */ |
||
16 | public function offsetExists($key) |
||
20 | |||
21 | /** |
||
22 | * {@inheritdoc} |
||
23 | */ |
||
24 | public function offsetGet($key) |
||
28 | |||
29 | /** |
||
30 | * {@inheritdoc} |
||
31 | */ |
||
32 | public function offsetSet($key, $value) |
||
36 | |||
37 | /** |
||
38 | * {@inheritdoc} |
||
39 | */ |
||
40 | public function offsetUnset($key) |
||
44 | |||
45 | /** |
||
46 | * {@inheritdoc} |
||
47 | */ |
||
48 | public function count() |
||
52 | |||
53 | /** |
||
54 | * {@inheritdoc} |
||
55 | */ |
||
56 | public function getIterator() |
||
60 | } |
||
61 |