This repository has been archived on 2023-08-20. You can view files and clone it, but cannot push or open issues or pull requests.
symfony/src/Symfony/Component/Serializer/Tests/Normalizer/TestNormalizer.php

38 lines
808 B
PHP
Raw Normal View History

<?php
/*
* This file is part of the Symfony package.
*
* (c) Fabien Potencier <fabien@symfony.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Symfony\Component\Serializer\Tests\Normalizer;
use Symfony\Component\Serializer\Normalizer\NormalizerInterface;
/**
* Provides a test Normalizer which only implements the NormalizerInterface.
*
* @author Lin Clark <lin@lin-clark.com>
*/
class TestNormalizer implements NormalizerInterface
{
2013-05-08 09:39:40 +01:00
/**
2014-12-07 18:24:30 +00:00
* {@inheritdoc}
*/
2019-01-16 09:39:14 +00:00
public function normalize($object, $format = null, array $context = [])
2013-05-08 09:39:40 +01:00
{
}
2013-05-08 09:39:40 +01:00
/**
2014-12-07 18:24:30 +00:00
* {@inheritdoc}
*/
2013-05-08 09:39:40 +01:00
public function supportsNormalization($data, $format = null)
{
return true;
}
}