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;
15 * Defines the interface of encoders.
17 * @author Jordi Boggiano <j.boggiano@seld.be>
19 interface SerializerAwareInterface
22 * Sets the owning Serializer object.
24 public function setSerializer(SerializerInterface $serializer);