public function XmlEncoder::supportsDecoding in Zircon Profile 8
Same name in this branch
- 8 vendor/symfony/serializer/Encoder/XmlEncoder.php \Symfony\Component\Serializer\Encoder\XmlEncoder::supportsDecoding()
- 8 core/modules/serialization/src/Encoder/XmlEncoder.php \Drupal\serialization\Encoder\XmlEncoder::supportsDecoding()
Same name and namespace in other branches
- 8.0 vendor/symfony/serializer/Encoder/XmlEncoder.php \Symfony\Component\Serializer\Encoder\XmlEncoder::supportsDecoding()
Checks whether the deserializer can decode from given format.
Parameters
string $format format name:
Return value
bool
Overrides DecoderInterface::supportsDecoding
File
- vendor/
symfony/ serializer/ Encoder/ XmlEncoder.php, line 147
Class
- XmlEncoder
- Encodes XML data.
Namespace
Symfony\Component\Serializer\EncoderCode
public function supportsDecoding($format) {
return 'xml' === $format;
}