1 | <?php |
||
16 | abstract class AbstractChain implements ArrayAccess, IteratorAggregate, JsonSerializable |
||
17 | { |
||
18 | /** |
||
19 | * @var array |
||
20 | */ |
||
21 | public $array = []; |
||
22 | |||
23 | /** |
||
24 | * @return ArrayIterator |
||
25 | */ |
||
26 | 1 | public function getIterator() |
|
30 | |||
31 | /** |
||
32 | * @param mixed $offset |
||
33 | * |
||
34 | * @return bool |
||
35 | */ |
||
36 | 1 | public function offsetExists($offset) |
|
40 | |||
41 | /** |
||
42 | * @param mixed $offset |
||
43 | * |
||
44 | * @return mixed |
||
45 | */ |
||
46 | 1 | public function offsetGet($offset) |
|
50 | |||
51 | /** |
||
52 | * @param mixed $offset |
||
53 | * @param mixed $value |
||
54 | */ |
||
55 | 1 | public function offsetSet($offset, $value) |
|
59 | |||
60 | /** |
||
61 | * @param mixed $offset |
||
62 | */ |
||
63 | 1 | public function offsetUnset($offset) |
|
67 | |||
68 | /** |
||
69 | * @return array |
||
70 | */ |
||
71 | 1 | public function jsonSerialize() |
|
75 | } |
||
76 |