Mpociot\ApiDoc\Commands\GenerateDocumentation::getRoutes PHP 메소드

getRoutes() 개인적인 메소드

private getRoutes ( ) : mixed
리턴 mixed
    private function getRoutes()
    {
        if ($this->option('router') === 'laravel') {
            return Route::getRoutes();
        } else {
            return app('Dingo\\Api\\Routing\\Router')->getRoutes()[$this->option('routePrefix')];
        }
    }