1 | <?php |
||
8 | class CDIArray extends CDI implements \ArrayAccess |
||
9 | { |
||
10 | |||
11 | /** |
||
12 | * Properties |
||
13 | * |
||
14 | */ |
||
15 | public $data = []; // Store all configuration options here |
||
16 | |||
17 | |||
18 | |||
19 | /** |
||
20 | * Construct. |
||
21 | * |
||
22 | * @param array $options to configure options. |
||
23 | */ |
||
24 | public function __construct($options = []) |
||
28 | |||
29 | |||
30 | /** |
||
31 | * Construct. |
||
32 | * |
||
33 | * @param array $options to configure options. |
||
34 | */ |
||
35 | public function offsetSet($offset, $value) |
||
43 | |||
44 | |||
45 | |||
46 | /** |
||
47 | * Construct. |
||
48 | * |
||
49 | * @param array $options to configure options. |
||
50 | */ |
||
51 | public function offsetExists($offset) |
||
55 | |||
56 | |||
57 | |||
58 | /** |
||
59 | * Construct. |
||
60 | * |
||
61 | * @param array $options to configure options. |
||
62 | */ |
||
63 | public function offsetUnset($offset) |
||
67 | |||
68 | |||
69 | |||
70 | /** |
||
71 | * Construct. |
||
72 | * |
||
73 | * @param array $options to configure options. |
||
74 | */ |
||
75 | public function offsetGet($offset) |
||
81 | } |
||
82 |
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.