| 1 | <?php |
||
| 6 | class InputContainer implements ContainerInterface, \ArrayAccess |
||
| 7 | { |
||
| 8 | |||
| 9 | /** |
||
| 10 | * @var array |
||
| 11 | */ |
||
| 12 | public $data; |
||
| 13 | |||
| 14 | /** |
||
| 15 | * @param array $data Optional array |
||
| 16 | */ |
||
| 17 | 7 | public function __construct( array $data = array() ) |
|
| 21 | |||
| 22 | |||
| 23 | /** |
||
| 24 | * @implements ContainerInterface |
||
| 25 | */ |
||
| 26 | 2 | public function get( $offset ) |
|
| 33 | |||
| 34 | /** |
||
| 35 | * @implements ContainerInterface |
||
| 36 | */ |
||
| 37 | 2 | public function has( $offset ) |
|
| 41 | |||
| 42 | |||
| 43 | |||
| 44 | |||
| 45 | /** |
||
| 46 | * @implements ArrayAccess |
||
| 47 | */ |
||
| 48 | 3 | public function offsetExists($offset) |
|
| 52 | |||
| 53 | /** |
||
| 54 | * @implements ArrayAccess |
||
| 55 | */ |
||
| 56 | public function offsetSet($offset, $value) |
||
| 60 | |||
| 61 | /** |
||
| 62 | * @implements ArrayAccess |
||
| 63 | */ |
||
| 64 | 2 | public function offsetGet($offset) |
|
| 68 | |||
| 69 | /** |
||
| 70 | * @implements ArrayAccess |
||
| 71 | */ |
||
| 72 | public function offsetUnset($offset) |
||
| 78 | } |
||
| 79 |