| Total Complexity | 5 |
| Total Lines | 24 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 13 | final class SignatureConfigurator implements ConfiguratorInterface |
||
| 14 | { |
||
| 15 | public function __construct( |
||
| 16 | private readonly Parser $parser |
||
| 17 | ) { |
||
| 18 | } |
||
| 19 | |||
| 20 | public function canConfigure(Command $command, \ReflectionClass $reflection): bool |
||
| 21 | { |
||
| 22 | return $reflection->getConstant('SIGNATURE') !== null; |
||
| 23 | } |
||
| 24 | |||
| 25 | public function configure(Command $command, \ReflectionClass $reflection): void |
||
| 37 | } |
||
| 38 | } |
||
| 39 | } |
||
| 40 |