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