class TestDenormalizer in Zircon Profile 8.0
Same name and namespace in other branches
- 8 vendor/symfony/serializer/Tests/Normalizer/TestDenormalizer.php \Symfony\Component\Serializer\Tests\Normalizer\TestDenormalizer
Provides a test Normalizer which only implements the DenormalizerInterface.
@author Lin Clark <lin@lin-clark.com>
Hierarchy
- class \Symfony\Component\Serializer\Tests\Normalizer\TestDenormalizer implements DenormalizerInterface
Expanded class hierarchy of TestDenormalizer
1 file declares its use of TestDenormalizer
- SerializerTest.php in vendor/
symfony/ serializer/ Tests/ SerializerTest.php
File
- vendor/
symfony/ serializer/ Tests/ Normalizer/ TestDenormalizer.php, line 21
Namespace
Symfony\Component\Serializer\Tests\NormalizerView source
class TestDenormalizer implements DenormalizerInterface {
/**
* {@inheritdoc}
*/
public function denormalize($data, $class, $format = null, array $context = array()) {
}
/**
* {@inheritdoc}
*/
public function supportsDenormalization($data, $type, $format = null) {
return true;
}
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
TestDenormalizer:: |
public | function |
Denormalizes data back into an object of the given class. Overrides DenormalizerInterface:: |
|
TestDenormalizer:: |
public | function |
Checks whether the given class is supported for denormalization by this normalizer. Overrides DenormalizerInterface:: |