| Total Complexity | 4 |
| Total Lines | 26 |
| Duplicated Lines | 0 % |
| Coverage | 81.82% |
| Changes | 0 | ||
| 1 | <?php |
||
| 12 | final class Parameters implements Node, IteratorAggregate, Countable |
||
| 13 | { |
||
| 14 | /** @var Parameter[] */ |
||
| 15 | private $parameters; |
||
| 16 | |||
| 17 | 28 | public function __construct(Parameter ...$parameters) |
|
| 20 | 28 | } |
|
| 21 | |||
| 22 | /** |
||
| 23 | * @return Parameter[] |
||
| 24 | */ |
||
| 25 | 11 | public function getIterator() : iterable |
|
| 26 | { |
||
| 27 | 11 | yield from $this->parameters; |
|
|
|
|||
| 28 | 11 | } |
|
| 29 | |||
| 30 | 11 | public function dispatch(Visitor $visitor) : void |
|
| 33 | 11 | } |
|
| 34 | |||
| 35 | public function count() : int |
||
| 38 | } |
||
| 39 | } |
||
| 40 |