public function NormalizerInterface::supportsNormalization

Checks whether the given class is supported for normalization by this normalizer

Parameters

mixed $data Data to normalize.:

string $format The format being (de-)serialized from or into.:

Return value

Boolean

5 methods override NormalizerInterface::supportsNormalization()
CustomNormalizer::supportsNormalization in drupal/core/vendor/symfony/serializer/Symfony/Component/Serializer/Normalizer/CustomNormalizer.php
Checks if the given class implements the NormalizableInterface.
GetSetMethodNormalizer::supportsNormalization in drupal/core/vendor/symfony/serializer/Symfony/Component/Serializer/Normalizer/GetSetMethodNormalizer.php
Checks whether the given class is supported for normalization by this normalizer
JsonldNormalizerBase::supportsNormalization in drupal/core/modules/jsonld/lib/Drupal/jsonld/JsonldNormalizerBase.php
Implements \Symfony\Component\Serializer\Normalizer\NormalizerInterface::normalize()
SerializationTestNormalizer::supportsNormalization in drupal/core/modules/system/tests/modules/serialization_test/lib/Drupal/serialization_test/SerializationTestNormalizer.php
Checks whether format is supported by this normalizer.
Serializer::supportsNormalization in drupal/core/vendor/symfony/serializer/Symfony/Component/Serializer/Serializer.php
Checks whether the given class is supported for normalization by this normalizer

File

drupal/core/vendor/symfony/serializer/Symfony/Component/Serializer/Normalizer/NormalizerInterface.php, line 37

Class

NormalizerInterface
Defines the interface of normalizers.

Namespace

Symfony\Component\Serializer\Normalizer

Code

public function supportsNormalization($data, $format = null);