1 | <?php |
||
14 | class Store implements ArrayAccess, Countable, IteratorAggregate |
||
15 | { |
||
16 | protected $items = []; |
||
17 | |||
18 | /** |
||
19 | * @return ArrayIterator |
||
20 | */ |
||
21 | public function getIterator() |
||
25 | |||
26 | /** |
||
27 | * @param mixed $offset |
||
28 | * |
||
29 | * @return bool |
||
30 | */ |
||
31 | public function offsetExists($offset) |
||
38 | |||
39 | /** |
||
40 | * @param mixed $offset |
||
41 | * |
||
42 | * @return bool|mixed |
||
43 | */ |
||
44 | public function offsetGet($offset) |
||
51 | |||
52 | /** |
||
53 | * @param mixed $offset |
||
54 | * @param mixed $value |
||
55 | */ |
||
56 | public function offsetSet($offset, $value) |
||
60 | |||
61 | /** |
||
62 | * @param mixed $offset |
||
63 | */ |
||
64 | public function offsetUnset($offset) |
||
69 | |||
70 | /** |
||
71 | * @return int |
||
72 | */ |
||
73 | public function count() |
||
77 | |||
78 | /** |
||
79 | * @param $name |
||
80 | * |
||
81 | * @return bool|mixed |
||
82 | */ |
||
83 | public function __get($name) |
||
87 | |||
88 | /** |
||
89 | * @param $name |
||
90 | * @param $value |
||
91 | */ |
||
92 | public function __set($name, $value) |
||
96 | } |