Symfony serializer context builder filter interface.
interface ApiPlatform\Serializer\Filter\FilterInterface implements ApiPlatform\Metadata\FilterInterface
{
public apply(Symfony\Component\HttpFoundation\Request $request, bool $normalization, array $attributes, array $context): null
public getDescription(string $resourceClass): array<string, array>
}
Apply a filter to the serializer context.
public apply(Symfony\Component\HttpFoundation\Request $request, bool $normalization, array $attributes, array $context): null
request | Symfony\Component\HttpFoundation\Request | |
normalization | bool | |
attributes | array | |
context | array |
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