| 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 mixed $offset |
||
| 34 | * @param mixed $value |
||
| 35 | */ |
||
| 36 | public function offsetSet($offset, $value) |
||
| 44 | |||
| 45 | |||
| 46 | /** |
||
| 47 | * Construct. |
||
| 48 | * |
||
| 49 | * @param array $offset to configure options. |
||
| 50 | * @return bool |
||
| 51 | */ |
||
| 52 | public function offsetExists($offset) |
||
| 56 | |||
| 57 | |||
| 58 | |||
| 59 | /** |
||
| 60 | * Construct. |
||
| 61 | * |
||
| 62 | * @param array $offset to configure options. |
||
| 63 | */ |
||
| 64 | public function offsetUnset($offset) |
||
| 68 | |||
| 69 | |||
| 70 | /** |
||
| 71 | * Construct. |
||
| 72 | * |
||
| 73 | * @param array $offset to configure options. |
||
| 74 | * @return mixed|null |
||
| 75 | */ |
||
| 76 | public function offsetGet($offset) |
||
| 82 | } |
||
| 83 |
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.