| Total Complexity | 2 |
| Total Lines | 35 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 21 | final class CommandSequence extends AbstractSequence |
||
| 22 | { |
||
| 23 | /** @var string */ |
||
| 24 | private $command; |
||
| 25 | |||
| 26 | /** @var array */ |
||
| 27 | private $options = []; |
||
| 28 | |||
| 29 | /** |
||
| 30 | * @param string $command |
||
| 31 | * @param array $options |
||
| 32 | * @param string $header |
||
| 33 | * @param string $footer |
||
| 34 | */ |
||
| 35 | public function __construct( |
||
| 36 | string $command, |
||
| 37 | array $options = [], |
||
| 38 | string $header = '', |
||
| 39 | string $footer = '' |
||
| 40 | ) { |
||
| 41 | $this->command = $command; |
||
| 42 | $this->options = $options; |
||
| 43 | |||
| 44 | parent::__construct($header, $footer); |
||
| 45 | } |
||
| 46 | |||
| 47 | /** |
||
| 48 | * @inheritdoc |
||
| 49 | */ |
||
| 50 | public function execute(ContainerInterface $container, OutputInterface $output): void |
||
| 56 | } |
||
| 57 | } |
||
| 58 |