function ContextAwareDecoderInterface::supportsDecoding
Parameters
array $context options that decoders have access to:
Overrides DecoderInterface::supportsDecoding
2 methods override ContextAwareDecoderInterface::supportsDecoding()
- ChainDecoder::supportsDecoding in vendor/
symfony/ serializer/ Encoder/ ChainDecoder.php - Checks whether the deserializer can decode from given format.
- Serializer::supportsDecoding in vendor/
symfony/ serializer/ Serializer.php - Checks whether the deserializer can decode from given format.
File
-
vendor/
symfony/ serializer/ Encoder/ ContextAwareDecoderInterface.php, line 24
Class
- ContextAwareDecoderInterface
- Adds the support of an extra $context parameter for the supportsDecoding method.
Namespace
Symfony\Component\Serializer\EncoderCode
public function supportsDecoding(string $format, array $context = []) : bool;