You are here

public function PropertyNormalizer::supportsDenormalization in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/symfony/serializer/Normalizer/PropertyNormalizer.php \Symfony\Component\Serializer\Normalizer\PropertyNormalizer::supportsDenormalization()

Checks whether the given class is supported for denormalization by this normalizer.

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

Overrides DenormalizerInterface::supportsDenormalization

File

vendor/symfony/serializer/Normalizer/PropertyNormalizer.php, line 136

Class

PropertyNormalizer
Converts between objects and arrays by mapping properties.

Namespace

Symfony\Component\Serializer\Normalizer

Code

public function supportsDenormalization($data, $type, $format = null) {
  return $this
    ->supports($type);
}