src/Console/MakeV.php
protected function command()
    {
        $api = $this->option('api') ? ' --api '  : '';
        $action = $this->argument('action') ? ' ' . $this->argument('action') . ' ' : '';
        return 'php artisan make:route ' . $this->argument('link') . $action . ' --type=' . $this->option('type') .
            ' --method=' . $this->option('method') .
            $api .
            ' -a --menu';
    }
protected function command()
    {
        $api = $this->option('api') ? ' --api '  : '';
        $action = $this->argument('action') ? ' ' . $this->argument('action') . ' ' : '';
        return 'php artisan make:route ' . $this->argument('link') . $action . ' --type=' . $this->option('type') .
            ' --method=' . $this->option('method') .
            $api .
            ' -a --menu';
    }
protected function command ( ) { $ api = $ this -> option ( 'api' ) ? ' --api ' : '' ; $ action = $ this -> argument ( 'action' ) ? ' ' . $ this -> argument ( 'action' ) . ' ' : '' ; return 'php artisan make:route ' . $ this -> argument ( 'link' ) . $ action . ' --type=' . $ this -> option ( 'type' ) . ' --method=' . $ this -> option ( 'method' ) . $ api . ' -a --menu' ; }
Obtain command.

@return string
Obtain command .