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