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\Encoder; Chris@14: Chris@14: /** Chris@14: * Adds the support of an extra $context parameter for the supportsDecoding method. Chris@14: * Chris@14: * @author Kévin Dunglas Chris@14: */ Chris@14: interface ContextAwareDecoderInterface extends DecoderInterface Chris@14: { Chris@14: /** Chris@14: * {@inheritdoc} Chris@14: * Chris@14: * @param array $context options that decoders have access to Chris@14: */ Chris@17: public function supportsDecoding($format, array $context = []); Chris@14: }