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
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);