| Conditions | 3 |
| Paths | 3 |
| Total Lines | 10 |
| Code Lines | 5 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 22 | public function configure(Command $command, \ReflectionClass $reflection): void |
||
| 23 | { |
||
| 24 | foreach ($this->configurators as $configurator) { |
||
| 25 | if ($configurator->canConfigure($command, $reflection)) { |
||
| 26 | $configurator->configure($command, $reflection); |
||
| 27 | return; |
||
| 28 | } |
||
| 29 | } |
||
| 30 | |||
| 31 | (new ConstantBasedConfigurator())->configure($command, $reflection); |
||
| 32 | } |
||
| 34 |