Adamgoose\Console\RouteScanCommand::getOptions PHP Method

getOptions() protected method

Get the console command options.
protected getOptions ( ) : array
return array
    protected function getOptions()
    {
        $namespace = $this->getAppNamespace() . 'Http\\Controllers';
        return [['namespace', null, InputOption::VALUE_OPTIONAL, 'The root namespace for the controllers.', $namespace], ['path', null, InputOption::VALUE_OPTIONAL, 'The path to scan.', 'Http' . DIRECTORY_SEPARATOR . 'Controllers']];
    }