From 7c68c3baa81a4a13b677fb08dc3081497d9bac0e Mon Sep 17 00:00:00 2001 From: Moln Date: Mon, 14 Jun 2021 11:17:33 +0800 Subject: [PATCH] Fix no cacheable --- src/Basic/CollectionNormalizer.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/Basic/CollectionNormalizer.php b/src/Basic/CollectionNormalizer.php index 67d9a85..786b3ce 100644 --- a/src/Basic/CollectionNormalizer.php +++ b/src/Basic/CollectionNormalizer.php @@ -27,6 +27,11 @@ final class CollectionNormalizer extends AbstractCollectionNormalizer { public const FORMAT = 'json'; + public function hasCacheableSupportsMethod(): bool + { + return false; + } + /** * {@inheritdoc} */