$name
$name : string
An event for all commands.
$input : \Symfony\Component\Console\Input\InputInterface
$output : \Symfony\Component\Console\Output\OutputInterface
__construct(string $name, string $commandName, \Symfony\Component\Console\Input\InputInterface $input, \Symfony\Component\Console\Output\OutputInterface $output, array $args = array(), array $flags = array())
Constructor.
string | $name | The event name |
string | $commandName | The command name |
\Symfony\Component\Console\Input\InputInterface | $input | |
\Symfony\Component\Console\Output\OutputInterface | $output | |
array | $args | Arguments passed by the user |
array | $flags | Optional flags to pass data not as argument |
getInput() : \Symfony\Component\Console\Input\InputInterface
Returns the command input interface
getOutput() : \Symfony\Component\Console\Output\OutputInterface
Retrieves the command output interface