Checks whether the given class is supported for denormalization by this normalizer
mixed $data Data to denormalize from.:
string $type The class to which the data should be denormalized.:
string $format The format being deserialized from.:
Boolean
Overrides DenormalizerInterface::supportsDenormalization
public function supportsDenormalization($data, $type, $format = null) {
try {
$this
->getDenormalizer($data, $type, $format = null);
} catch (RuntimeException $e) {
return false;
}
return true;
}