interface NormalizerInterface
Defines the interface of normalizers.
Methods
| array|scalar |
normalize(object $object, string $format = null, array $context = array())
Normalizes an object into a set of arrays/scalars |
|
| Boolean |
supportsNormalization(mixed $data, string $format = null)
Checks whether the given class is supported for normalization by this normalizer |
Details
at line 30
public array|scalar
normalize(object $object, string $format = null, array $context = array())
Normalizes an object into a set of arrays/scalars
at line 40
public Boolean
supportsNormalization(mixed $data, string $format = null)
Checks whether the given class is supported for normalization by this normalizer