1 | <?php namespace BuildR\Foundation\Object; |
||
19 | class AbstractArrayObject implements ArrayObjectInterface { |
||
20 | |||
21 | /** |
||
22 | * @type array |
||
23 | */ |
||
24 | protected $data = []; |
||
25 | |||
26 | /** |
||
27 | * @inheritDoc |
||
28 | */ |
||
29 | 1 | public function toArray() { |
|
30 | 1 | return $this->data; |
|
31 | } |
||
32 | |||
33 | /** |
||
34 | * @inheritDoc |
||
35 | */ |
||
36 | 2 | public function count() { |
|
39 | |||
40 | /** |
||
41 | * @inheritDoc |
||
42 | */ |
||
43 | 1 | public function getIterator() { |
|
46 | |||
47 | /** |
||
48 | * @inheritDoc |
||
49 | */ |
||
50 | 2 | public function offsetExists($offset) { |
|
53 | |||
54 | /** |
||
55 | * @inheritDoc |
||
56 | */ |
||
57 | 2 | public function offsetGet($offset) { |
|
60 | |||
61 | /** |
||
62 | * @inheritDoc |
||
63 | */ |
||
64 | 1 | public function offsetSet($offset, $value) { |
|
67 | |||
68 | /** |
||
69 | * @inheritDoc |
||
70 | */ |
||
71 | 2 | public function offsetUnset($offset) { |
|
76 | |||
77 | /** |
||
78 | * @inheritDoc |
||
79 | */ |
||
80 | 1 | public function serialize() { |
|
83 | |||
84 | /** |
||
85 | * @inheritDoc |
||
86 | */ |
||
87 | 1 | public function unserialize($serialized) { |
|
90 | |||
91 | } |
||
92 |