Chris@14: Chris@14: * Chris@14: * For the full copyright and license information, please view the LICENSE Chris@14: * file that was distributed with this source code. Chris@14: */ Chris@14: Chris@14: namespace Symfony\Component\Serializer\Normalizer; Chris@14: Chris@14: /** Chris@14: * Adds the support of an extra $context parameter for the supportsNormalization method. Chris@14: * Chris@14: * @author Kévin Dunglas Chris@14: */ Chris@14: interface ContextAwareNormalizerInterface extends NormalizerInterface Chris@14: { Chris@14: /** Chris@14: * {@inheritdoc} Chris@14: * Chris@14: * @param array $context options that normalizers have access to Chris@14: */ Chris@17: public function supportsNormalization($data, $format = null, array $context = []); Chris@14: }