You are here

public function Serializer::supportsDecoding in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 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\Serializer

Code

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