public function ConsoleCommandEvent::commandShouldRun in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/symfony/console/Event/ConsoleCommandEvent.php \Symfony\Component\Console\Event\ConsoleCommandEvent::commandShouldRun()
Returns true if the command is runnable, false otherwise.
Return value
bool
File
- vendor/
symfony/ console/ Event/ ConsoleCommandEvent.php, line 58
Class
- ConsoleCommandEvent
- Allows to do things before the command is executed, like skipping the command or changing the input.
Namespace
Symfony\Component\Console\EventCode
public function commandShouldRun() {
return $this->commandShouldRun;
}