Total Complexity | 2 |
Total Lines | 15 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
22 | class CommandCollection implements IteratorAggregate, CommandCollectionInterface |
||
23 | { |
||
24 | /** |
||
25 | * @var Command[] |
||
26 | */ |
||
27 | private $commands; |
||
28 | |||
29 | public function __construct(Command ...$commands) |
||
30 | { |
||
31 | $this->commands = $commands; |
||
32 | } |
||
33 | |||
34 | public function getIterator(): Iterator |
||
37 | } |
||
38 | } |
||
39 |