Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. DecoderInterface.php

function DecoderInterface::supportsDecoding

Checks whether the deserializer can decode from given format.

Parameters

string $format Format name:

9 methods override DecoderInterface::supportsDecoding()
ContextAwareDecoderInterface::supportsDecoding in vendor/symfony/serializer/Encoder/ContextAwareDecoderInterface.php
CsvEncoder::supportsDecoding in vendor/symfony/serializer/Encoder/CsvEncoder.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.
TraceableEncoder::supportsDecoding in vendor/symfony/serializer/Debug/TraceableEncoder.php
Checks whether the deserializer can decode from given format.

... See full list

File

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

Class

DecoderInterface
@author Jordi Boggiano <j.boggiano@seld.be>

Namespace

Symfony\Component\Serializer\Encoder

Code

public function supportsDecoding(string $format) : bool;
RSS feed
Powered by Drupal