You are here

public function TestDenormalizer::supportsDenormalization in Zircon Profile 8

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

Class

TestDenormalizer
Provides a test Normalizer which only implements the DenormalizerInterface.

Namespace

Symfony\Component\Serializer\Tests\Normalizer

Code

public function supportsDenormalization($data, $type, $format = null) {
  return true;
}