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\Tests\Fixtures;
14 use Symfony\Component\Serializer\Normalizer\DenormalizableInterface;
15 use Symfony\Component\Serializer\Normalizer\DenormalizerInterface;
16 use Symfony\Component\Serializer\Normalizer\NormalizableInterface;
17 use Symfony\Component\Serializer\Normalizer\NormalizerInterface;
19 class Dummy implements NormalizableInterface, DenormalizableInterface
26 public function normalize(NormalizerInterface $normalizer, $format = null, array $context = array())
36 public function denormalize(DenormalizerInterface $denormalizer, $data, $format = null, array $context = array())
38 $this->foo = $data['foo'];
39 $this->bar = $data['bar'];
40 $this->baz = $data['baz'];
41 $this->qux = $data['qux'];