| Total Complexity | 4 |
| Total Lines | 27 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 14 | final class Collection implements Value, IteratorAggregate, Countable |
||
| 15 | { |
||
| 16 | |||
| 17 | /** @var ValuableNode[] */ |
||
| 18 | private $items; |
||
| 19 | |||
| 20 | public function __construct(Entry ...$items) |
||
| 21 | { |
||
| 22 | $this->items = $items; |
||
| 23 | } |
||
| 24 | |||
| 25 | /** |
||
| 26 | * @return Collection[] |
||
| 27 | */ |
||
| 28 | public function getIterator() : iterable |
||
| 31 | } |
||
| 32 | |||
| 33 | public function count() : int |
||
| 36 | } |
||
| 37 | |||
| 38 | public function dispatch(Visitor $visitor) : void |
||
| 43 |