1 | <?php |
||
8 | class ArrayWrapper implements WrapperInterface |
||
9 | { |
||
10 | |||
11 | /** |
||
12 | * @var array |
||
13 | */ |
||
14 | protected $data = array(); |
||
15 | |||
16 | /** |
||
17 | * @param array|\ArrayObject|object $data |
||
18 | * |
||
19 | * @throws \InvalidArgumentException |
||
20 | */ |
||
21 | 31 | public function __construct($data = array()) |
|
35 | |||
36 | 14 | public function getItemValue($item) |
|
40 | |||
41 | 14 | public function getItemsBySelector($selector) |
|
45 | |||
46 | } |
||
47 |