You are here

public function NormalizerInterface::supportsNormalization in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/symfony/serializer/Normalizer/NormalizerInterface.php \Symfony\Component\Serializer\Normalizer\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

bool

8 methods override NormalizerInterface::supportsNormalization()
CustomNormalizer::supportsNormalization in vendor/symfony/serializer/Normalizer/CustomNormalizer.php
Checks if the given class implements the NormalizableInterface.
GetSetMethodNormalizer::supportsNormalization in vendor/symfony/serializer/Normalizer/GetSetMethodNormalizer.php
Checks whether the given class is supported for normalization by this normalizer.
NormalizerBase::supportsNormalization in core/modules/serialization/src/Normalizer/NormalizerBase.php
Checks whether the given class is supported for normalization by this normalizer.
ObjectNormalizer::supportsNormalization in vendor/symfony/serializer/Normalizer/ObjectNormalizer.php
Checks whether the given class is supported for normalization by this normalizer.
PropertyNormalizer::supportsNormalization in vendor/symfony/serializer/Normalizer/PropertyNormalizer.php
Checks whether the given class is supported for normalization by this normalizer.

... See full list

File

vendor/symfony/serializer/Normalizer/NormalizerInterface.php, line 40

Class

NormalizerInterface
Defines the interface of normalizers.

Namespace

Symfony\Component\Serializer\Normalizer

Code

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