If an event dispatcher has been attached to the application,
events are also dispatched during the life-cycle of the command.
protected doRunCommand ( |
||
$command | A Command instance | |
$input | Symfony\Component\Console\Input\InputInterface | An Input instance |
$output | Symfony\Component\Console\Output\OutputInterface | An Output instance |
return | integer | 0 if everything went fine, or an error code |