| Total Complexity | 2 |
| Total Lines | 17 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 0 | ||
| 1 | <?php |
||
| 8 | class LaunchProcessStep extends AbstractConfigurableStep |
||
| 9 | { |
||
| 10 | 2 | public function execute(ProcessState $state) |
|
| 11 | { |
||
| 12 | 2 | $state->info('launch process {process}', ['process' => $state->getOptions()['process']]); |
|
| 13 | |||
| 14 | 2 | $process = $state->getStepRunner()->buildConfigurationProcess($state->getOptions()['process']); |
|
| 15 | |||
| 16 | 2 | $state->getStepRunner()->run($process, $state->getOptions()['context'], $state->isDryRun()); |
|
| 17 | 2 | } |
|
| 18 | |||
| 19 | 2 | public function configureOptionResolver(OptionsResolver $resolver): OptionsResolver |
|
| 25 | } |
||
| 26 | } |
||
| 27 |