/** * If the response has tags for invalidation, invalidate them. * * @param Response $response */ private function invalidateTagsFromResponse(Response $response) { $tags = $this->decodeTags($response->headers->get($this->options['header_invalidate_tags'])); $this->manager->invalidateTags($tags); }