You are here

public function EncoderInterface::supportsEncoding in Zircon Profile 8

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

Checks whether the serializer can encode to given format.

Parameters

string $format format name:

Return value

bool

7 methods override EncoderInterface::supportsEncoding()
ChainEncoder::supportsEncoding in vendor/symfony/serializer/Encoder/ChainEncoder.php
Checks whether the serializer can encode to given format.
JsonEncode::supportsEncoding in vendor/symfony/serializer/Encoder/JsonEncode.php
Checks whether the serializer can encode to given format.
JsonEncoder::supportsEncoding in vendor/symfony/serializer/Encoder/JsonEncoder.php
Checks whether the serializer can encode to given format.
SerializationTestEncoder::supportsEncoding in core/modules/serialization/tests/serialization_test/src/SerializationTestEncoder.php
Checks whether the serializer can encode to given format.
Serializer::supportsEncoding in vendor/symfony/serializer/Serializer.php
Checks whether the serializer can encode to given format.

... See full list

File

vendor/symfony/serializer/Encoder/EncoderInterface.php, line 43

Class

EncoderInterface
Defines the interface of encoders.

Namespace

Symfony\Component\Serializer\Encoder

Code

public function supportsEncoding($format);