References SerializerContextBuilderInterface
Reference
I
Interface

ApiPlatform\State\SerializerContextBuilderInterface

Builds the context used by the Symfony Serializer.

interface ApiPlatform\State\SerializerContextBuilderInterface
{
    public createFromRequest(Symfony\Component\HttpFoundation\Request $request, bool $normalization, null|array $extractedAttributes)
}

Methods

createFromRequest

Creates a serialization context from a Request.

public createFromRequest(Symfony\Component\HttpFoundation\Request $request, bool $normalization, null|array $extractedAttributes)

Parameters

requestSymfony\Component\HttpFoundation\Request
normalizationbool
extractedAttributesarray

Returns

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