Fedeisas\LaravelJsRoutes\Generators\RoutesJavascriptGenerator::getRouteInformation PHP Method

getRouteInformation() protected method

Get the route information for a given route.
protected getRouteInformation ( Illuminate\Routing\Route $route ) : array
$route Illuminate\Routing\Route
return array
    protected function getRouteInformation(Route $route)
    {
        if ($route->getName()) {
            return ['uri' => $route->uri(), 'name' => $route->getName(), 'before' => $this->getBeforeFilters($route)];
        }
        return null;
    }