src/Robo/Tasks/DrushTask.php
public function drush($command) {
    // Clear out options associated with previous drush command.
    $this->setOptionsForLastCommand();

    if (!$this->defaultsInitialized) {
      $this->init();
    }

    if (is_array($command)) {
      $command = implode(' ', array_filter($command));
    }

    $this->commands[] = trim($command);
    return $this;
  }
public function drush($command) {
    // Clear out options associated with previous drush command.
    $this->setOptionsForLastCommand();

    if (!$this->defaultsInitialized) {
      $this->init();
    }

    if (is_array($command)) {
      $command = implode(' ', array_filter($command));
    }

    $this->commands[] = trim($command);
    return $this;
  }
public function drush ( $ command ) { // Clear out options associated with previous drush command. $ this -> setOptionsForLastCommand ( ) ; if ( ! $ this -> defaultsInitialized ) { $ this -> init ( ) ; } if ( is_array ( $ command ) ) { $ command = implode ( ' ' , array_filter ( $ command ) ) ; } $ this -> commands [ ] = trim ( $ command ) ; return $ this ; }
Adds the given drush command to a stack.

@param string $command
The drush command to execute. Do NOT include "drush" prefix.

@return $this
Adds the given drush command to a stack .