Reference
I
Interface

ApiPlatform\Api\QueryParameterValidator\Validator\ValidatorInterface

interface ApiPlatform\Api\QueryParameterValidator\Validator\ValidatorInterface
{
    public validate(string $name, array<string> $filterDescription, array<string> $queryParameters): array
}
interface ApiPlatform\Api\QueryParameterValidator\Validator\ValidatorInterface
{
    public validate(string $name, array<string> $filterDescription, array<string> $queryParameters): array
}

Methods

validate

public validate(string $name, array<string> $filterDescription, array<string> $queryParameters): array
public validate(string $name, array<string> $filterDescription, array<string> $queryParameters): array

Parameters

namestringthe parameter name to validate
filterDescriptionarray<string>the filter descriptions as returned by \ApiPlatform\Api\FilterInterface::getDescription()
queryParametersarray<string>the list of query parameter

Returns

array

Copyright © 2023 Kévin Dunglas

Sponsored by Les-Tilleuls.coop