1 | <?php |
||
21 | abstract class AbstractSet implements ArrayAccess, Countable, IteratorAggregate |
||
22 | { |
||
23 | /** |
||
24 | * |
||
25 | * @var string |
||
26 | */ |
||
27 | protected $_managedClass = ''; |
||
28 | |||
29 | /** |
||
30 | * |
||
31 | * @var array |
||
32 | */ |
||
33 | protected $_container = array(); |
||
34 | |||
35 | /** |
||
36 | * |
||
37 | * @param mixed $obj |
||
38 | * @throws InvalidArgumentException |
||
39 | */ |
||
40 | 3 | public function add($obj) |
|
49 | |||
50 | 4 | public function offsetSet($offset, $value) { |
|
62 | |||
63 | 1 | public function offsetExists($offset) |
|
67 | |||
68 | 2 | public function offsetUnset($offset) |
|
72 | |||
73 | 1 | public function offsetGet($offset) |
|
79 | |||
80 | 1 | public function getIterator() |
|
84 | |||
85 | 1 | public function count() |
|
89 | } |
||
90 |