public function drupalDrush(array $drush_command, $opts = [
        'silent' => false,
        'localhost' => false,
    ])
    {
        /** @var DrupalProjectType $instance */
        $instance = $this->getProjectInstance();

        return $instance->runDrushCommand(
            implode(' ', $drush_command),
            $opts['silent'],
            $opts['localhost']
        );
    }
public function drupalDrush(array $drush_command, $opts = [
        'silent' => false,
        'localhost' => false,
    ])
    {
        /** @var DrupalProjectType $instance */
        $instance = $this->getProjectInstance();

        return $instance->runDrushCommand(
            implode(' ', $drush_command),
            $opts['silent'],
            $opts['localhost']
        );
    }
public function drupalDrush ( array $ drush_command , $ opts = [ 'silent' => false , 'localhost' => false , ] ) { /** @var DrupalProjectType $instance */ $ instance = $ this -> getProjectInstance ( ) ; return $ instance -> runDrushCommand ( implode ( ' ' , $ drush_command ) , $ opts [ 'silent' ] , $ opts [ 'localhost' ] ) ; }
Execute arbitrary drush command.

@aliases drush

@param array $drush_command The drush command to execute.
@param array $opts
@option bool $silent Run drush command silently.
@option bool $localhost Run drush command on localhost.

@return ResultData
@throws \Exception
Execute arbitrary drush command .