Symfony\Component\Serializer\Normalizer\CustomNormalizer::supportsNormalization
Checks if the given class implements the NormalizableInterface.
Signature
public function supportsNormalization(mixed
$data,
[string
$format = null] )
Parameters
$data
— mixed- Data to normalize.
$format
— string- The format being (de-)serialized from or into.
Returns
- Boolean