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