Provides a test Normalizer which only implements the NormalizerInterface.
@author Lin Clark <lin@lin-clark.com>
Expanded class hierarchy of TestNormalizer
class TestNormalizer implements NormalizerInterface {
/**
* {@inheritdoc}
*/
public function normalize($object, $format = null, array $context = array()) {
}
/**
* {@inheritdoc}
*/
public function supportsNormalization($data, $format = null) {
return true;
}
}
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
TestNormalizer:: |
public | function |
Normalizes an object into a set of arrays/scalars Overrides NormalizerInterface:: |
|
TestNormalizer:: |
public | function |
Checks whether the given class is supported for normalization by this normalizer Overrides NormalizerInterface:: |