1 | <?php |
||
19 | class ObjectCollection extends IndexedObjectStorage { |
||
20 | |||
21 | /** |
||
22 | * Whether a offset exists |
||
23 | * @link http://php.net/manual/en/arrayaccess.offsetexists.php |
||
24 | * |
||
25 | * @param mixed $offset <p> |
||
26 | * An offset to check for. |
||
27 | * </p> |
||
28 | * |
||
29 | * @return boolean true on success or false on failure. |
||
30 | * </p> |
||
31 | * <p> |
||
32 | * The return value will be casted to boolean if non-boolean was returned. |
||
33 | * @since 5.0.0 |
||
34 | */ |
||
35 | 1 | public function offsetExists($offset) { |
|
38 | |||
39 | /** |
||
40 | * Offset to retrieve |
||
41 | * @link http://php.net/manual/en/arrayaccess.offsetget.php |
||
42 | * |
||
43 | * @param mixed $offset <p> |
||
44 | * The offset to retrieve. |
||
45 | * </p> |
||
46 | * |
||
47 | * @return mixed Can return all value types. |
||
48 | * @since 5.0.0 |
||
49 | */ |
||
50 | 1 | public function offsetGet($offset) { |
|
53 | |||
54 | /** |
||
55 | * Offset to set |
||
56 | * @link http://php.net/manual/en/arrayaccess.offsetset.php |
||
57 | * |
||
58 | * @param mixed $offset <p> |
||
59 | * The offset to assign the value to. |
||
60 | * </p> |
||
61 | * @param mixed $value <p> |
||
62 | * The value to set. |
||
63 | * </p> |
||
64 | * |
||
65 | * @return void |
||
66 | * @since 5.0.0 |
||
67 | */ |
||
68 | 1 | public function offsetSet($offset, $value) { |
|
71 | |||
72 | /** |
||
73 | * Offset to unset |
||
74 | * @link http://php.net/manual/en/arrayaccess.offsetunset.php |
||
75 | * |
||
76 | * @param mixed $offset <p> |
||
77 | * The offset to unset. |
||
78 | * </p> |
||
79 | * |
||
80 | * @return void |
||
81 | * @since 5.0.0 |
||
82 | */ |
||
83 | 1 | public function offsetUnset($offset) { |
|
88 | |||
89 | /** |
||
90 | * Counts ONLY indexed elements |
||
91 | * |
||
92 | * @return int |
||
93 | */ |
||
94 | 1 | public function count() { |
|
97 | |||
98 | } |
||
99 |