| Total Complexity | 5 |
| Total Lines | 26 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 10 | final class Collection implements ArrayAccess |
||
| 11 | { |
||
| 12 | public array $elements = []; |
||
| 13 | |||
| 14 | public function offsetExists($offset) |
||
| 15 | { |
||
| 16 | return isset($this->elements[$offset]); |
||
| 17 | } |
||
| 18 | |||
| 19 | public function offsetGet($offset) |
||
| 22 | } |
||
| 23 | |||
| 24 | public function offsetSet($offset, $value) |
||
| 31 | } |
||
| 32 | |||
| 33 | public function offsetUnset($offset) |
||
| 38 |