Provides a test Normalizer which only implements the DenormalizerInterface.
@author Lin Clark <lin@lin-clark.com>
Expanded class hierarchy of TestDenormalizer
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;
}
}
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:: |