| Total Complexity | 3 |
| Total Lines | 27 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php declare(strict_types=1); |
||
| 8 | final class CommandInteractEvent extends Event |
||
| 9 | { |
||
| 10 | |||
| 11 | /** |
||
| 12 | * @var CommandInterface |
||
| 13 | */ |
||
| 14 | private $command; |
||
| 15 | |||
| 16 | /** |
||
| 17 | * @var InputInterface |
||
| 18 | */ |
||
| 19 | private $input; |
||
| 20 | |||
| 21 | public function __construct(CommandInterface $command, InputInterface $input) |
||
| 22 | { |
||
| 23 | $this->command = $command; |
||
| 24 | $this->input = $input; |
||
| 25 | } |
||
| 26 | |||
| 27 | public function command(): CommandInterface |
||
| 30 | } |
||
| 31 | |||
| 32 | public function input(): InputInterface |
||
| 35 | } |
||
| 36 | |||
| 37 | } |