You are here

public function GetSetMethodNormalizer::supportsDenormalization in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/symfony/serializer/Normalizer/GetSetMethodNormalizer.php \Symfony\Component\Serializer\Normalizer\GetSetMethodNormalizer::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/GetSetMethodNormalizer.php, line 137

Class

GetSetMethodNormalizer
Converts between objects with getter and setter methods and arrays.

Namespace

Symfony\Component\Serializer\Normalizer

Code

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