1 | <?php |
||
10 | class CompositeArrayAccess implements \ArrayAccess |
||
11 | { |
||
12 | /** |
||
13 | * @var array |
||
14 | */ |
||
15 | private $arrays; |
||
16 | |||
17 | /** |
||
18 | * @param array $arrays |
||
19 | */ |
||
20 | public function __construct(array $arrays) |
||
24 | |||
25 | /** |
||
26 | * @param $offset |
||
27 | */ |
||
28 | public function offsetExists($offset) |
||
37 | |||
38 | /** |
||
39 | * @param $offset |
||
40 | */ |
||
41 | public function offsetGet($offset) |
||
50 | |||
51 | /** |
||
52 | * @param $offset |
||
53 | * @param $value |
||
54 | */ |
||
55 | public function offsetSet($offset, $value) |
||
59 | |||
60 | /** |
||
61 | * @param $offset |
||
62 | */ |
||
63 | public function offsetUnset($offset) |
||
67 | } |
||
68 |