1 | <?php |
||
15 | class WzItemCollection extends ArrayObject implements WzItemCollectionInterface |
||
16 | { |
||
17 | /** |
||
18 | * |
||
19 | */ |
||
20 | 24 | public function __construct() |
|
24 | |||
25 | /** |
||
26 | * @inheritdoc |
||
27 | */ |
||
28 | 18 | public function add(WzItemInterface $item) |
|
32 | |||
33 | /** |
||
34 | * @inheritdoc |
||
35 | */ |
||
36 | 3 | public function get($id) |
|
40 | |||
41 | /** |
||
42 | * @inheritdoc |
||
43 | */ |
||
44 | 3 | public function getItemsByLevel($level) |
|
53 | |||
54 | /** |
||
55 | * @inheritdoc |
||
56 | */ |
||
57 | 3 | public function has($id) |
|
61 | |||
62 | /** |
||
63 | * @inheritdoc |
||
64 | */ |
||
65 | 24 | public function offsetSet($index, $newval) |
|
81 | } |
||
82 |