1 | <?php |
||
9 | trait ArrayAccessTrait |
||
10 | { |
||
11 | /** |
||
12 | * @param $offset |
||
13 | * @return mixed |
||
14 | */ |
||
15 | public function offsetExists($offset) |
||
19 | |||
20 | /** |
||
21 | * @param $offset |
||
22 | * @return mixed |
||
23 | */ |
||
24 | public function offsetGet($offset) |
||
28 | |||
29 | /** |
||
30 | * @param $offset |
||
31 | * @param $data |
||
32 | * @return mixed |
||
33 | */ |
||
34 | public function offsetSet($offset, $data) |
||
38 | |||
39 | /** |
||
40 | * @param $offset |
||
41 | * @return mixed |
||
42 | */ |
||
43 | public function offsetUnset($offset) |
||
47 | |||
48 | /** |
||
49 | * @return mixed |
||
50 | */ |
||
51 | abstract protected function getStorage(); |
||
52 | } |
||
53 |