Current path: home/webdevt/www/schtroumpf.fr/vendor/api-platform/core/src/Api/QueryParameterValidator/Validator/
?? Go up: /home/webdevt/www/schtroumpf.fr/vendor/api-platform/core/src/Api/QueryParameterValidator
<?php
/*
* This file is part of the API Platform project.
*
* (c) Kévin Dunglas <dunglas@gmail.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
declare(strict_types=1);
namespace ApiPlatform\Api\QueryParameterValidator\Validator;
interface ValidatorInterface
{
/**
* @param string $name the parameter name to validate
* @param array<string, mixed> $filterDescription the filter descriptions as returned by `ApiPlatform\Core\Api\FilterInterface::getDescription()`
* @param array<string, mixed> $queryParameters the list of query parameter
*/
public function validate(string $name, array $filterDescription, array $queryParameters): array;
}