public function getVersion($reset = false)
    {
        if ($reset || !isset($this->version)) {
            $this->version = $this->shellHelper->execute(
                [$this->getDrushExecutable(), 'version', '--format=string']
            );
        }


        return $this->version;
    }
public function getVersion($reset = false)
    {
        if ($reset || !isset($this->version)) {
            $this->version = $this->shellHelper->execute(
                [$this->getDrushExecutable(), 'version', '--format=string']
            );
        }


        return $this->version;
    }
public function getVersion ( $ reset = false ) { if ( $ reset || ! isset ( $ this -> version ) ) { $ this -> version = $ this -> shellHelper -> execute ( [ $ this -> getDrushExecutable ( ) , 'version' , '--format=string' ] ) ; } return $ this -> version ; }
Get the installed Drush version.

@param bool $reset

@return string|false
The Drush version, or false if it cannot be determined.
Get the installed Drush version .