private function Serializer::selfSupportsDenormalization in JSON:API 8
Same name and namespace in other branches
- 8.2 src/Serializer/Serializer.php \Drupal\jsonapi\Serializer\Serializer::selfSupportsDenormalization()
Checks whether this class alone supports denormalization.
Parameters
mixed $data: Data to denormalize from.
string $type: The class to which the data should be denormalized.
string $format: The format being deserialized from.
Return value
bool Whether this class supports normalization for the given data and type.
2 calls to Serializer::selfSupportsDenormalization()
- Serializer::denormalize in src/
Serializer/ Serializer.php - Denormalizes data back into an object of the given class.
- Serializer::supportsDenormalization in src/
Serializer/ Serializer.php - Checks whether the given class is supported for denormalization by this normalizer.
File
- src/
Serializer/ Serializer.php, line 106
Class
- Serializer
- Overrides the Symfony serializer to cordon off our incompatible normalizers.
Namespace
Drupal\jsonapi\SerializerCode
private function selfSupportsDenormalization($data, $type, $format = NULL) {
return parent::supportsDenormalization($data, $type, $format);
}