Reference
C
Class

ApiPlatform\Symfony\EventListener\QueryParameterValidateListener

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
}

Methods

__construct

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)

Parameters

queryParameterValidatorApiPlatform\Api\QueryParameterValidator\QueryParameterValidator
resourceMetadataCollectionFactoryApiPlatform\Metadata\Resource\Factory\ResourceMetadataCollectionFactoryInterface

onKernelRequest

public onKernelRequest(Symfony\Component\HttpKernel\Event\RequestEvent $event): null
public onKernelRequest(Symfony\Component\HttpKernel\Event\RequestEvent $event): null

Parameters

eventSymfony\Component\HttpKernel\Event\RequestEvent

Returns

null

Copyright © 2023 Kévin Dunglas

Sponsored by Les-Tilleuls.coop