Guides
Tutorials
Builds the context used by the Symfony Serializer.
interface ApiPlatform\Serializer\SerializerContextBuilderInterface
{
public createFromRequest(Symfony\Component\HttpFoundation\Request $request, bool $normalization, null|array $extractedAttributes): array
}
interface ApiPlatform\Serializer\SerializerContextBuilderInterface
{
public createFromRequest(Symfony\Component\HttpFoundation\Request $request, bool $normalization, null|array $extractedAttributes): array
}
Creates a serialization context from a Request.
public createFromRequest(Symfony\Component\HttpFoundation\Request $request, bool $normalization, null|array $extractedAttributes): array
public createFromRequest(Symfony\Component\HttpFoundation\Request $request, bool $normalization, null|array $extractedAttributes): array
request | Symfony\Component\HttpFoundation\Request | |
normalization | bool | |
extractedAttributes | array |
array