1 | <?php |
||
6 | class InputContainer implements ContainerInterface, \ArrayAccess |
||
7 | { |
||
8 | |||
9 | /** |
||
10 | * @var array |
||
11 | */ |
||
12 | public $data; |
||
13 | |||
14 | /** |
||
15 | * @param array $data Input values (optional) |
||
16 | * @param array $defaults Default values (optional) |
||
17 | */ |
||
18 | 55 | public function __construct( array $data = array(), array $defaults = array() ) |
|
22 | |||
23 | |||
24 | /** |
||
25 | * @implements ContainerInterface |
||
26 | */ |
||
27 | 10 | public function get( $offset ) |
|
34 | |||
35 | /** |
||
36 | * @implements ContainerInterface |
||
37 | */ |
||
38 | 15 | public function has( $offset ) |
|
42 | |||
43 | |||
44 | /** |
||
45 | * @return array |
||
46 | */ |
||
47 | public function getArrayCopy() |
||
51 | 20 | ||
52 | |||
53 | /** |
||
54 | * @implements ArrayAccess |
||
55 | */ |
||
56 | public function offsetExists($offset) |
||
60 | |||
61 | /** |
||
62 | * @implements ArrayAccess |
||
63 | */ |
||
64 | public function offsetSet($offset, $value) |
||
68 | |||
69 | /** |
||
70 | * @implements ArrayAccess |
||
71 | */ |
||
72 | public function offsetGet($offset) |
||
76 | |||
77 | /** |
||
78 | * @implements ArrayAccess |
||
79 | */ |
||
80 | public function offsetUnset($offset) |
||
86 | } |
||
87 |