| Total Complexity | 3 |
| Total Lines | 24 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 23 | class ShellCommand extends Command |
||
| 24 | { |
||
| 25 | /** |
||
| 26 | * @var Shell |
||
| 27 | */ |
||
| 28 | private $shell; |
||
| 29 | |||
| 30 | public function __construct(?string $name = null, Shell $shell) |
||
| 31 | { |
||
| 32 | parent::__construct($name); |
||
| 33 | $this->shell = $shell; |
||
| 34 | } |
||
| 35 | |||
| 36 | protected function configure() |
||
| 37 | { |
||
| 38 | $this |
||
| 39 | ->setName('shell') |
||
| 40 | ->setDescription('Execute dotfiles shell') |
||
| 41 | ; |
||
| 42 | } |
||
| 43 | |||
| 44 | protected function execute(InputInterface $input, OutputInterface $output) |
||
| 47 | } |
||
| 48 | } |
||
| 49 |