package and depencies

This commit is contained in:
RafficMohammed
2023-01-08 02:57:24 +05:30
parent d5332eb421
commit 1d54b8bc7f
4309 changed files with 193331 additions and 172289 deletions

View File

@@ -25,8 +25,8 @@ class ConsoleEvent extends Event
{
protected $command;
private $input;
private $output;
private InputInterface $input;
private OutputInterface $output;
public function __construct(?Command $command, InputInterface $input, OutputInterface $output)
{
@@ -37,30 +37,24 @@ class ConsoleEvent extends Event
/**
* Gets the command that is executed.
*
* @return Command|null
*/
public function getCommand()
public function getCommand(): ?Command
{
return $this->command;
}
/**
* Gets the input instance.
*
* @return InputInterface
*/
public function getInput()
public function getInput(): InputInterface
{
return $this->input;
}
/**
* Gets the output instance.
*
* @return OutputInterface
*/
public function getOutput()
public function getOutput(): OutputInterface
{
return $this->output;
}