PHP Класс ApiPlatform\Core\Tests\Fixtures\DummyFilter

Автор: Kévin Dunglas ([email protected])
Наследование: implements ApiPlatform\Core\Api\FilterInterface
Показать файл Открыть проект

Открытые методы

Метод Описание
__construct ( array $description )
getDescription ( string $resourceClass ) : array Gets the description of this filter for the given resource.

Описание методов

__construct() публичный метод

public __construct ( array $description )
$description array

getDescription() публичный метод

Returns an array with the filter parameter names as keys and array with the following data as values: - property: the property where the filter is applied - type: the type of the filter - required: if this filter is required - strategy: the used strategy The description can contain additional data specific to a filter.
public getDescription ( string $resourceClass ) : array
$resourceClass string
Результат array