References DeserializeListener
Reference
C
Class

ApiPlatform\Symfony\EventListener\DeserializeListener

Updates the entity retrieved by the data provider with data contained in the request body.

Methods

__construct

Parameters

serializer`ApiPlatform\State\ProviderInterface`
Symfony\Component\Serializer\SerializerInterface
serializerContextBuilder`ApiPlatform\Serializer\SerializerContextBuilderInterface`
`ApiPlatform\Metadata\Resource\Factory\ResourceMetadataCollectionFactoryInterface`
resourceMetadataFactory`ApiPlatform\Metadata\Resource\Factory\ResourceMetadataCollectionFactoryInterface`
translatorSymfony\Contracts\Translation\TranslatorInterface

onKernelRequest

Deserializes the data sent in the requested format.

public onKernelRequest(Symfony\Component\HttpKernel\Event\RequestEvent $event): null

Parameters

eventSymfony\Component\HttpKernel\Event\RequestEvent

Returns

null

Made with love by

Les-Tilleuls.coop can help you design and develop your APIs and web projects, and train your teams in API Platform, Symfony, Next.js, Kubernetes and a wide range of other technologies.

Learn more

Copyright © 2023 Kévin Dunglas

Sponsored by Les-Tilleuls.coop