/** * {@inheritdoc} */ public function resolveLocationRouteParameters($object) { return !isset($this->cache[$key = 'location_route_parameters_' . spl_object_hash($object)]) ? $this->cache[$key] = $this->parameterResolver->resolveLocationRouteParameters($object) : $this->cache[$key]; }