public function DecoderInterface::supportsDecoding

Checks whether the serializer can decode from given format

Parameters

string $format format name:

Return value

Boolean

5 methods override DecoderInterface::supportsDecoding()
ChainDecoder::supportsDecoding in drupal/core/vendor/symfony/serializer/Symfony/Component/Serializer/Encoder/ChainDecoder.php
Checks whether the serializer can decode from given format
JsonDecode::supportsDecoding in drupal/core/vendor/symfony/serializer/Symfony/Component/Serializer/Encoder/JsonDecode.php
Checks whether the serializer can decode from given format
JsonEncoder::supportsDecoding in drupal/core/vendor/symfony/serializer/Symfony/Component/Serializer/Encoder/JsonEncoder.php
Checks whether the serializer can decode from given format
Serializer::supportsDecoding in drupal/core/vendor/symfony/serializer/Symfony/Component/Serializer/Serializer.php
Checks whether the serializer can decode from given format
XmlEncoder::supportsDecoding in drupal/core/vendor/symfony/serializer/Symfony/Component/Serializer/Encoder/XmlEncoder.php
Checks whether the serializer can decode from given format

File

drupal/core/vendor/symfony/serializer/Symfony/Component/Serializer/Encoder/DecoderInterface.php, line 37

Class

DecoderInterface
Defines the interface of decoders

Namespace

Symfony\Component\Serializer\Encoder

Code

public function supportsDecoding($format);