Total Complexity | 4 |
Total Lines | 39 |
Duplicated Lines | 0 % |
Coverage | 92.86% |
Changes | 2 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
8 | class ContextNodeCollection extends Collection |
||
9 | { |
||
10 | /** |
||
11 | * Push one or more items onto the end of the collection. |
||
12 | * |
||
13 | * @param ContextNode|ContextNode[] $values [optional] |
||
14 | * @return $this |
||
15 | */ |
||
16 | 1 | public function push(...$values) |
|
23 | } |
||
24 | |||
25 | /** |
||
26 | * Get the collection of items as JSON. |
||
27 | * |
||
28 | * @param int $options |
||
29 | * @return string |
||
30 | */ |
||
31 | 1 | public function toJson($options = 0) |
|
49 |