| 1 | <?php |
||
| 8 | class ConsoleEvent extends AbstractEvent |
||
| 9 | { |
||
| 10 | |||
| 11 | const NAME = 'console.run'; |
||
| 12 | |||
| 13 | /** |
||
| 14 | * @var string |
||
| 15 | */ |
||
| 16 | private $command; |
||
| 17 | |||
| 18 | /** |
||
| 19 | * @var OutputInterface |
||
| 20 | */ |
||
| 21 | private $output; |
||
| 22 | |||
| 23 | /** |
||
| 24 | * @param string $command |
||
| 25 | * @param OutputInterface $output |
||
| 26 | */ |
||
| 27 | public function __construct( |
||
| 36 | |||
| 37 | /** |
||
| 38 | * @return string |
||
| 39 | */ |
||
| 40 | public function getCommand() : string |
||
| 44 | |||
| 45 | /** |
||
| 46 | * @return OutputInterface|null |
||
| 47 | */ |
||
| 48 | public function getOutput() |
||
| 52 | } |
||
| 53 |