You are here

public function Command::isEnabled in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/symfony/console/Command/Command.php \Symfony\Component\Console\Command\Command::isEnabled()

Checks whether the command is enabled or not in the current environment.

Override this to check for x or y and return false if the command can not run properly under the current conditions.

Return value

bool

File

vendor/symfony/console/Command/Command.php, line 132

Class

Command
Base class for all commands.

Namespace

Symfony\Component\Console\Command

Code

public function isEnabled() {
  return true;
}