Total Complexity | 6 |
Total Lines | 30 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
8 | trait ArrayAccessTrait |
||
9 | { |
||
10 | use CollectionTrait; |
||
11 | |||
12 | public function offsetExists(mixed $offset): bool |
||
13 | { |
||
14 | return array_key_exists($offset, $this->elements); |
||
15 | } |
||
16 | |||
17 | public function offsetGet(mixed $offset): mixed |
||
24 | } |
||
25 | |||
26 | public function offsetSet(mixed $offset, mixed $value): void |
||
32 | } |
||
33 | } |
||
34 | |||
35 | public function offsetUnset(mixed $offset): void |
||
40 |