| Total Complexity | 6 |
| Total Lines | 55 |
| Duplicated Lines | 0 % |
| Coverage | 33.33% |
| Changes | 1 | ||
| Bugs | 0 | Features | 1 |
| 1 | <?php |
||
| 10 | trait CheckLoadedFunctionsTrait |
||
| 11 | { |
||
| 12 | /** |
||
| 13 | * @inheritDoc |
||
| 14 | */ |
||
| 15 | 1 | public function offsetSet($key, $value) |
|
| 16 | { |
||
| 17 | 1 | $this->load(); |
|
|
|
|||
| 18 | 1 | return parent::offsetSet($key, $value); |
|
| 19 | } |
||
| 20 | |||
| 21 | /** |
||
| 22 | * @inheritDoc |
||
| 23 | */ |
||
| 24 | public function offsetGet($key) |
||
| 25 | { |
||
| 26 | $this->load(); |
||
| 27 | return parent::offsetGet($key); |
||
| 28 | } |
||
| 29 | |||
| 30 | /** |
||
| 31 | * @inheritDoc |
||
| 32 | */ |
||
| 33 | public function offsetExists($key) |
||
| 37 | } |
||
| 38 | |||
| 39 | /** |
||
| 40 | * @inheritDoc |
||
| 41 | */ |
||
| 42 | public function offsetUnset($key) |
||
| 43 | { |
||
| 44 | $this->load(); |
||
| 45 | return parent::offsetUnset($key); |
||
| 46 | } |
||
| 47 | |||
| 48 | /** |
||
| 49 | * @inheritDoc |
||
| 50 | */ |
||
| 51 | public function filter(callable $callback = null) |
||
| 55 | } |
||
| 56 | |||
| 57 | |||
| 58 | /** |
||
| 59 | * @inheritDoc |
||
| 60 | */ |
||
| 61 | 2 | public function count() |
|
| 65 | } |
||
| 66 | } |