Slide 24
Slide 24 text
basecom · wir sprechen internet 24
Serializer API
namespace FOS\RestBundle\Serializer;
use FOS\RestBundle\Context\Context;
interface Serializer
{
// ...
/**
* @param string $data
* @param string $type
* @param string $format
* @param Context $context
*
* @return mixed
*/
public function deserialize($data, $type, $format, Context $context);
}