Serializer/Serializer.php
public function serialize($data, $format, SerializationContext $context = null)
    {
        return $this->serializer->serialize($data, $format, $context);
    }
public function serialize($data, $format, SerializationContext $context = null)
    {
        return $this->serializer->serialize($data, $format, $context);
    }
public function serialize ( $ data , $ format , SerializationContext $ context = null ) { return $ this -> serializer -> serialize ( $ data , $ format , $ context ) ; }
{@inheritdoc}
{