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;
15 * Adds the support of an extra $context parameter for the supportsNormalization method.
17 * @author Kévin Dunglas <dunglas@gmail.com>
19 interface ContextAwareNormalizerInterface extends NormalizerInterface
24 * @param array $context options that normalizers have access to
26 public function supportsNormalization($data, $format = null, array $context = array());