Method | Description | |
---|---|---|
__construct ( Symfony\Component\Serializer\SerializerInterface $serializer, ApiPlatform\Core\Serializer\SerializerContextBuilderInterface $serializerContextBuilder, array $formats ) | ||
onKernelRequest ( |
Deserializes the data sent in the requested format. |
Method | Description | |
---|---|---|
getFormat ( |
Extracts the format from the Content-Type header and check that it is supported. |
public __construct ( Symfony\Component\Serializer\SerializerInterface $serializer, ApiPlatform\Core\Serializer\SerializerContextBuilderInterface $serializerContextBuilder, array $formats ) | ||
$serializer | Symfony\Component\Serializer\SerializerInterface | |
$serializerContextBuilder | ApiPlatform\Core\Serializer\SerializerContextBuilderInterface | |
$formats | array |
public onKernelRequest ( |
||
$event |