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