public function drupalDrushAlias($opts = ['exclude-remote' => false])
    {
        $this->executeCommandHook(__FUNCTION__, 'before');
        /** @var DrupalProjectType $instance */
        $instance = $this->getProjectInstance();
        $instance->setupDrushAlias($opts['exclude-remote']);
        $this->executeCommandHook(__FUNCTION__, 'after');

        return $this;
    }
public function drupalDrushAlias($opts = ['exclude-remote' => false])
    {
        $this->executeCommandHook(__FUNCTION__, 'before');
        /** @var DrupalProjectType $instance */
        $instance = $this->getProjectInstance();
        $instance->setupDrushAlias($opts['exclude-remote']);
        $this->executeCommandHook(__FUNCTION__, 'after');

        return $this;
    }
public function drupalDrushAlias ( $ opts = [ 'exclude-remote' => false ] ) { $ this -> executeCommandHook ( __FUNCTION__ , 'before' ) ; /** @var DrupalProjectType $instance */ $ instance = $ this -> getProjectInstance ( ) ; $ instance -> setupDrushAlias ( $ opts [ 'exclude-remote' ] ) ; $ this -> executeCommandHook ( __FUNCTION__ , 'after' ) ; return $ this ; }
Setup local project drush alias.

@param array $opts
@option bool $exclude-remote Don't render remote drush aliases.

@return DrupalTasks
@throws \Exception
Setup local project drush alias .