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

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

            exit;
        }

        return $name;
    }
protected function getDocName()
    {
        $name = $this->option('name') ?: $this->name;

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

            exit;
        }

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

@return string
Get the documentation name .