function DecoderInterface::supportsDecoding
Checks whether the deserializer can decode from given format.
Parameters
string $format Format name:
9 methods override DecoderInterface::supportsDecoding()
- ContextAwareDecoderInterface::supportsDecoding in vendor/
symfony/ serializer/ Encoder/ ContextAwareDecoderInterface.php - CsvEncoder::supportsDecoding in vendor/
symfony/ serializer/ Encoder/ CsvEncoder.php - Checks whether the deserializer can decode from given format.
- JsonDecode::supportsDecoding in vendor/
symfony/ serializer/ Encoder/ JsonDecode.php - Checks whether the deserializer can decode from given format.
- JsonEncoder::supportsDecoding in vendor/
symfony/ serializer/ Encoder/ JsonEncoder.php - Checks whether the deserializer can decode from given format.
- TraceableEncoder::supportsDecoding in vendor/
symfony/ serializer/ Debug/ TraceableEncoder.php - Checks whether the deserializer can decode from given format.
File
-
vendor/
symfony/ serializer/ Encoder/ DecoderInterface.php, line 42
Class
- DecoderInterface
- @author Jordi Boggiano <j.boggiano@seld.be>
Namespace
Symfony\Component\Serializer\EncoderCode
public function supportsDecoding(string $format) : bool;