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\AbstractNormalizer;
17 * Provides a dummy Normalizer which extends the AbstractNormalizer.
19 * @author Konstantin S. M. Möllers <ksm.moellers@gmail.com>
21 class AbstractNormalizerDummy extends AbstractNormalizer
26 public function getAllowedAttributes($classOrObject, array $context, $attributesAsString = false)
28 return parent::getAllowedAttributes($classOrObject, $context, $attributesAsString);
34 public function normalize($object, $format = null, array $context = array())
41 public function supportsNormalization($data, $format = null)
49 public function denormalize($data, $class, $format = null, array $context = array())
56 public function supportsDenormalization($data, $type, $format = null)