Guides
Tutorials
Validates query parameters depending on filter description.
class ApiPlatform\Symfony\EventListener\QueryParameterValidateListener
{
public __construct(ApiPlatform\Api\QueryParameterValidator\QueryParameterValidator $queryParameterValidator, null|ApiPlatform\Metadata\Resource\Factory\ResourceMetadataCollectionFactoryInterface $resourceMetadataCollectionFactory)
public onKernelRequest(Symfony\Component\HttpKernel\Event\RequestEvent $event): null
}
class ApiPlatform\Symfony\EventListener\QueryParameterValidateListener
{
public __construct(ApiPlatform\Api\QueryParameterValidator\QueryParameterValidator $queryParameterValidator, null|ApiPlatform\Metadata\Resource\Factory\ResourceMetadataCollectionFactoryInterface $resourceMetadataCollectionFactory)
public onKernelRequest(Symfony\Component\HttpKernel\Event\RequestEvent $event): null
}
public __construct(ApiPlatform\Api\QueryParameterValidator\QueryParameterValidator $queryParameterValidator, null|ApiPlatform\Metadata\Resource\Factory\ResourceMetadataCollectionFactoryInterface $resourceMetadataCollectionFactory)
public __construct(ApiPlatform\Api\QueryParameterValidator\QueryParameterValidator $queryParameterValidator, null|ApiPlatform\Metadata\Resource\Factory\ResourceMetadataCollectionFactoryInterface $resourceMetadataCollectionFactory)
queryParameterValidator | ApiPlatform\Api\QueryParameterValidator\QueryParameterValidator | |
resourceMetadataCollectionFactory | ApiPlatform\Metadata\Resource\Factory\ResourceMetadataCollectionFactoryInterface |
public onKernelRequest(Symfony\Component\HttpKernel\Event\RequestEvent $event): null
public onKernelRequest(Symfony\Component\HttpKernel\Event\RequestEvent $event): null
event | Symfony\Component\HttpKernel\Event\RequestEvent |
null