Conditions | 3 |
Paths | 3 |
Total Lines | 11 |
Lines | 0 |
Ratio | 0 % |
Tests | 5 |
CRAP Score | 3 |
Changes | 0 |
1 | <?php |
||
32 | 2 | public function process(CommandData $commandData): Layout |
|
33 | { |
||
34 | /** @var TaskProcessorInterface $taskProcessor */ |
||
35 | 2 | foreach ($this->getTaskProcessors() as $taskProcessor) { |
|
36 | 2 | if ($taskProcessor->supports($commandData)) { |
|
37 | 1 | return $taskProcessor->process($commandData); |
|
38 | } |
||
39 | } |
||
40 | |||
41 | 1 | return $this->sharepHelpMessage->generate(); |
|
42 | } |
||
43 | |||
53 |