Total Complexity | 7 |
Total Lines | 37 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
20 | abstract class SequenceCommand extends Command |
||
21 | { |
||
22 | public const OPTIONS = [ |
||
23 | ['ignore', 'i', InputOption::VALUE_NONE, 'Ignore any errors'], |
||
24 | ['break', 'b', InputOption::VALUE_NONE, 'Break on first error, works if ignore is disabled'] |
||
25 | ]; |
||
26 | |||
27 | /** |
||
28 | * @param iterable|SequenceInterface[] $commands |
||
29 | * @param ContainerInterface $container |
||
30 | * @return int |
||
31 | */ |
||
32 | protected function runSequence(iterable $commands, ContainerInterface $container): int |
||
59 |