PHP 클래스 ApiPlatform\Core\Tests\Fixtures\DummyFilter

저자: Kévin Dunglas ([email protected])
상속: implements ApiPlatform\Core\Api\FilterInterface
파일 보기 프로젝트 열기: api-platform/core

공개 메소드들

메소드 설명
__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