| 1 | <?php |
||
| 30 | trait ArrayAccessTrait |
||
| 31 | { |
||
| 32 | use WritableTrait; |
||
| 33 | |||
| 34 | public function offsetExists($offset)/*# : bool */ |
||
| 38 | |||
| 39 | public function offsetGet($offset) |
||
| 43 | |||
| 44 | public function offsetSet($offset, $value) |
||
| 48 | |||
| 49 | public function offsetUnset($offset) |
||
| 53 | |||
| 54 | // from ContainerInterface |
||
| 55 | |||
| 56 | /** |
||
| 57 | * @return bool |
||
| 58 | */ |
||
| 59 | abstract public function has(/*# string */ $id)/*# : bool */; |
||
| 60 | /** |
||
| 61 | * @return mixed|null |
||
| 62 | */ |
||
| 63 | abstract public function get(/*# string */ $id); |
||
| 64 | |||
| 65 | // from Phossa2\Config\Interfaces\WritableInterface |
||
| 66 | /** |
||
| 67 | * @return $this |
||
| 68 | */ |
||
| 69 | abstract public function set(/*# string */ $id, $value); |
||
| 70 | } |
||
| 71 |