The international conference on the API Platform Framework
Learn more about the event, register for the conference, and get ready for two days of inspiration, ideas, and knowledge-sharing with our incredible lineup of renowned specialists and advocates.
Register nowSerializes data.
class ApiPlatform\Symfony\EventListener\SerializeListener
{
public __construct(Symfony\Component\Serializer\SerializerInterface $serializer, $serializerContextBuilder, null|`<a href="/docs/v3.1/references/Metadata/Resource/Factory/ResourceMetadataCollectionFactoryInterface">ApiPlatform\Metadata\Resource\Factory\ResourceMetadataCollectionFactoryInterface $resourceMetadataFactory)
public onKernelView(Symfony\Component\HttpKernel\Event\ViewEvent $event): null
}
public __construct(Symfony\Component\Serializer\SerializerInterface $serializer, $serializerContextBuilder, null|`<a href="/docs/v3.1/references/Metadata/Resource/Factory/ResourceMetadataCollectionFactoryInterface">ApiPlatform\Metadata\Resource\Factory\ResourceMetadataCollectionFactoryInterface $resourceMetadataFactory)
serializer | Symfony\Component\Serializer\SerializerInterface | |
serializerContextBuilder | `ApiPlatform\Serializer\SerializerContextBuilderInterface` | |
resourceMetadataFactory | `ApiPlatform\Metadata\Resource\Factory\ResourceMetadataCollectionFactoryInterface` |
Serializes the data to the requested format.
public onKernelView(Symfony\Component\HttpKernel\Event\ViewEvent $event): null
event | Symfony\Component\HttpKernel\Event\ViewEvent |
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