public function Serializer::supportsDecoding in Zircon Profile 8.0
Same name and namespace in other branches
- 8 vendor/symfony/serializer/Serializer.php \Symfony\Component\Serializer\Serializer::supportsDecoding()
Checks whether the deserializer can decode from given format.
Parameters
string $format format name:
Return value
bool
Overrides DecoderInterface::supportsDecoding
1 call to Serializer::supportsDecoding()
- Serializer::deserialize in vendor/
symfony/ serializer/ Serializer.php - Deserializes data into the given type.
File
- vendor/
symfony/ serializer/ Serializer.php, line 306
Class
- Serializer
- Serializer serializes and deserializes data.
Namespace
Symfony\Component\SerializerCode
public function supportsDecoding($format) {
return $this->decoder
->supportsDecoding($format);
}