Unverified Commit 33519ea3 authored by alexpott's avatar alexpott

Issue #2958292 by rlhawk: Use SerializerAwareTrait instead of extending...

Issue #2958292 by rlhawk: Use SerializerAwareTrait instead of extending deprecated SerializerAwareNormalizer in NormalizerBase
parent c3e56484
......@@ -3,12 +3,15 @@
namespace Drupal\serialization\Normalizer;
use Drupal\Core\Cache\CacheableDependencyInterface;
use Symfony\Component\Serializer\Normalizer\SerializerAwareNormalizer;
use Symfony\Component\Serializer\SerializerAwareInterface;
use Symfony\Component\Serializer\SerializerAwareTrait;
* Base class for Normalizers.
abstract class NormalizerBase extends SerializerAwareNormalizer implements CacheableNormalizerInterface {
abstract class NormalizerBase implements SerializerAwareInterface, CacheableNormalizerInterface {
use SerializerAwareTrait;
* The interface or class that this Normalizer supports.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment