diff --git a/src/Normalizer/DataNormalizer.php b/src/Normalizer/DataNormalizer.php deleted file mode 100644 index 690a5bc..0000000 --- a/src/Normalizer/DataNormalizer.php +++ /dev/null @@ -1,34 +0,0 @@ -serializer->normalize($resource, $format, $context); - }, $object->toArray()); - return $object->getCardinality() === 1 - ? array_shift($cacheable_normalizations) ?: new CacheableNormalization(new CacheableMetadata(), NULL) - : CacheableNormalization::aggregate($cacheable_normalizations); - } - -}