Normalizes an object into a set of arrays/scalars
object $object object to normalize:
string $format format the normalization result will be encoded as:
array $context Context options for the normalizer:
array|scalar
Overrides NormalizerInterface::normalize
public function normalize($object, $format = null, array $context = array()) {
return $object
->normalize($this->serializer, $format, $context);
}