You are here

public function DecoderInterface::supportsDecoding in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/symfony/serializer/Encoder/DecoderInterface.php \Symfony\Component\Serializer\Encoder\DecoderInterface::supportsDecoding()

Checks whether the deserializer can decode from given format.

Parameters

string $format format name:

Return value

bool

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

... See full list

File

vendor/symfony/serializer/Encoder/DecoderInterface.php, line 48

Class

DecoderInterface
Defines the interface of decoders.

Namespace

Symfony\Component\Serializer\Encoder

Code

public function supportsDecoding($format);