src/Robo/BltTasks.php
protected function isCommandDisabled($command) {
    $disabled_commands = $this->getDisabledCommands();
    if (is_array($disabled_commands) && array_key_exists($command, $disabled_commands) && $disabled_commands[$command]) {
      $this->logger->warning("The $command command is disabled.");
      return TRUE;
    }

    return FALSE;
  }
protected function isCommandDisabled($command) {
    $disabled_commands = $this->getDisabledCommands();
    if (is_array($disabled_commands) && array_key_exists($command, $disabled_commands) && $disabled_commands[$command]) {
      $this->logger->warning("The $command command is disabled.");
      return TRUE;
    }

    return FALSE;
  }
protected function isCommandDisabled ( $ command ) { $ disabled_commands = $ this -> getDisabledCommands ( ) ; if ( is_array ( $ disabled_commands ) && array_key_exists ( $ command , $ disabled_commands ) && $ disabled_commands [ $ command ] ) { $ this -> logger -> warning ( "The $command command is disabled." ) ; return TRUE ; } return FALSE ; }
Determines if a command has been disabled via disable-targets.

@param string $command
The command name.

@return bool
TRUE if the command is disabled.
Determines if a command has been disabled via disable - targets .