private function trackRoutePathParameters(Route $route, Models\RoutePath $routePath)
    {
        $parameters = [];

        if ($route->hasParameters()) {
            foreach ($route->parameters() as $parameter => $value) {
                $parameters[] = $this->makeModel(BindingManager::MODEL_ROUTE_PATH_PARAMETER)->fill([
                    'parameter' => $parameter,
                    'value'     => $this->checkIfValueIsEloquentModel($value),
                ]);
            }
        }

        if (count($parameters) > 0)
            $routePath->parameters()->saveMany($parameters);
    }
private function trackRoutePathParameters(Route $route, Models\RoutePath $routePath)
    {
        $parameters = [];

        if ($route->hasParameters()) {
            foreach ($route->parameters() as $parameter => $value) {
                $parameters[] = $this->makeModel(BindingManager::MODEL_ROUTE_PATH_PARAMETER)->fill([
                    'parameter' => $parameter,
                    'value'     => $this->checkIfValueIsEloquentModel($value),
                ]);
            }
        }

        if (count($parameters) > 0)
            $routePath->parameters()->saveMany($parameters);
    }
private function trackRoutePathParameters ( Route $ route , Models \ RoutePath $ routePath ) { $ parameters = [ ] ; if ( $ route -> hasParameters ( ) ) { foreach ( $ route -> parameters ( ) as $ parameter => $ value ) { $ parameters [ ] = $ this -> makeModel ( BindingManager :: MODEL_ROUTE_PATH_PARAMETER ) -> fill ( [ 'parameter' => $ parameter , 'value' => $ this -> checkIfValueIsEloquentModel ( $ value ) , ] ) ; } } if ( count ( $ parameters ) > 0 ) $ routePath -> parameters ( ) -> saveMany ( $ parameters ) ; }
Track the route path parameters.

@param  \Illuminate\Routing\Route                   $route
@param  \Arcanedev\LaravelTracker\Models\RoutePath  $routePath
Track the route path parameters .