Reference
C
Class

ApiPlatform\Api\QueryParameterValidator\Validator\Pattern

class ApiPlatform\Api\QueryParameterValidator\Validator\Pattern implements `<a href="/docs/reference/Api/QueryParameterValidator/Validator/ValidatorInterface">ApiPlatform\Api\QueryParameterValidator\Validator\ValidatorInterface</a>`
{
    public validate(string $name, array $filterDescription, array $queryParameters): array
    protected checkFilterDeprecations(array $filterDescription): null
}
class ApiPlatform\Api\QueryParameterValidator\Validator\Pattern implements `<a href="/docs/reference/Api/QueryParameterValidator/Validator/ValidatorInterface">ApiPlatform\Api\QueryParameterValidator\Validator\ValidatorInterface</a>`
{
    public validate(string $name, array $filterDescription, array $queryParameters): array
    protected checkFilterDeprecations(array $filterDescription): null
}

Methods

validate

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

Parameters

namestring
filterDescriptionarray
queryParametersarray

Returns

array

checkFilterDeprecations

protected checkFilterDeprecations(array $filterDescription): null
protected checkFilterDeprecations(array $filterDescription): null

Parameters

filterDescriptionarray

Returns

null

Copyright © 2023 Kévin Dunglas

Sponsored by Les-Tilleuls.coop