/** * {@inheritdoc} */ public function resolveHateoas() { return !isset($this->cache[$key = 'hateoas']) ? $this->cache[$key] = $this->parameterResolver->resolveHateoas() : $this->cache[$key]; }