4 * This file is part of the Symfony package.
6 * (c) Fabien Potencier <fabien@symfony.com>
8 * For the full copyright and license information, please view the LICENSE
9 * file that was distributed with this source code.
12 namespace Symfony\Component\Serializer\Normalizer;
14 use Symfony\Component\Serializer\SerializerInterface;
15 use Symfony\Component\Serializer\SerializerAwareInterface;
18 * SerializerAware Normalizer implementation.
20 * @author Jordi Boggiano <j.boggiano@seld.be>
22 abstract class SerializerAwareNormalizer implements SerializerAwareInterface
25 * @var SerializerInterface
27 protected $serializer;
32 public function setSerializer(SerializerInterface $serializer)
34 $this->serializer = $serializer;