| Total Complexity | 3 |
| Total Lines | 30 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php declare(strict_types=1); |
||
| 8 | final class CommandConfigureEvent extends Event |
||
| 9 | { |
||
| 10 | |||
| 11 | /** |
||
| 12 | * @var CommandInterface |
||
| 13 | */ |
||
| 14 | private $command; |
||
| 15 | |||
| 16 | /** |
||
| 17 | * @var InputDefinition |
||
| 18 | */ |
||
| 19 | private $inputDefinition; |
||
| 20 | |||
| 21 | public function __construct(CommandInterface $command, InputDefinition $inputDefinition) |
||
| 25 | } |
||
| 26 | |||
| 27 | public function command(): CommandInterface |
||
| 28 | { |
||
| 29 | return $this->command; |
||
| 30 | } |
||
| 31 | |||
| 32 | /** |
||
| 33 | * @return InputDefinition |
||
| 34 | */ |
||
| 35 | public function inputDefinition(): InputDefinition |
||
| 38 | } |
||
| 39 | |||
| 40 | } |