Symfony\Component\Serializer\Normalizer\NormalizerInterface::supportsNormalization
Checks whether the given class is supported for normalization by this normalizer
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