public function Serializer::supportsDecoding

Checks whether the serializer can decode from given format

Parameters

string $format format name:

Return value

Boolean

Overrides DecoderInterface::supportsDecoding

1 call to Serializer::supportsDecoding()
Serializer::deserialize in drupal/core/vendor/symfony/serializer/Symfony/Component/Serializer/Serializer.php
Deserializes data into the given type.

File

drupal/core/vendor/symfony/serializer/Symfony/Component/Serializer/Serializer.php, line 287

Class

Serializer
Serializer serializes and deserializes data

Namespace

Symfony\Component\Serializer

Code

public function supportsDecoding($format) {
  return $this->decoder
    ->supportsDecoding($format);
}