Dingo\Api\Routing\Adapter\Laravel::getRoutes PHP Method

getRoutes() public method

Get all routes or only for a specific version.
public getRoutes ( string $version = null ) : mixed
$version string
return mixed
    public function getRoutes($version = null)
    {
        if (!is_null($version)) {
            return $this->routes[$version];
        }
        return $this->routes;
    }