src/Console/Command/Docs.php
protected function getVersion()
    {
        $version = $this->option('use-version') ?: $this->version;

        if (! $version) {
            $this->comment('A version for the documentation was not supplied. Use the --use-version option or set a default in the configuration.');

            exit;
        }

        return $version;
    }
protected function getVersion()
    {
        $version = $this->option('use-version') ?: $this->version;

        if (! $version) {
            $this->comment('A version for the documentation was not supplied. Use the --use-version option or set a default in the configuration.');

            exit;
        }

        return $version;
    }
protected function getVersion ( ) { $ version = $ this -> option ( 'use-version' ) ? : $ this -> version ; if ( ! $ version ) { $ this -> comment ( 'A version for the documentation was not supplied. Use the --use-version option or set a default in the configuration.' ) ; exit ; } return $ version ; }
Get the documentation version.

@return string
Get the documentation version .