References ValidatorInterface
Reference
I
Interface

ApiPlatform\ParameterValidator\Validator\ValidatorInterface

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

Methods

validate

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

Parameters

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

Returns

array

Made with love by

Les-Tilleuls.coop can help you design and develop your APIs and web projects, and train your teams in API Platform, Symfony, Next.js, Kubernetes and a wide range of other technologies.

Learn more

Copyright © 2023 Kévin Dunglas

Sponsored by Les-Tilleuls.coop