Platformsh\Cli\Helper\DrushHelper::getDrushExecutable PHP Method

getDrushExecutable() protected method

Get the full path to the Drush executable.
protected getDrushExecutable ( ) : string
return string The absolute path to the executable, or 'drush' if the path is not known.
    protected function getDrushExecutable()
    {
        if ($this->config->has('local.drush_executable')) {
            return $this->config->get('local.drush_executable');
        }
        return $this->shellHelper->resolveCommand('drush');
    }