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 nowBuilds the context used by the Symfony Serializer.
class ApiPlatform\Serializer\SerializerFilterContextBuilder implements , `<a href="/docs/references/State/SerializerContextBuilderInterface">ApiPlatform\State\SerializerContextBuilderInterface
{
public __construct($resourceMetadataCollectionFactory, Psr\Container\ContainerInterface $filterLocator, `<a href="/docs/references/Serializer/SerializerContextBuilderInterface">ApiPlatform\Serializer\SerializerContextBuilderInterface $decorated)
public createFromRequest(Symfony\Component\HttpFoundation\Request $request, bool $normalization, null|array $attributes): array
}
public __construct($resourceMetadataCollectionFactory, Psr\Container\ContainerInterface $filterLocator, `<a href="/docs/references/Serializer/SerializerContextBuilderInterface">ApiPlatform\Serializer\SerializerContextBuilderInterface $decorated)
resourceMetadataCollectionFactory | `ApiPlatform\Metadata\Resource\Factory\ResourceMetadataCollectionFactoryInterface` | |
filterLocator | Psr\Container\ContainerInterface | |
decorated | `ApiPlatform\Serializer\SerializerContextBuilderInterface` |
Creates a serialization context from a Request.Creates a serialization context from a Request.
public createFromRequest(Symfony\Component\HttpFoundation\Request $request, bool $normalization, null|array $attributes): array
request | Symfony\Component\HttpFoundation\Request | |
normalization | bool | |
attributes | array |
array
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