PHP 인터페이스 ApiPlatform\Core\Api\FilterInterface

저자: Kévin Dunglas ([email protected])
파일 보기 프로젝트 열기: api-platform/core

공개 메소드들

메소드 설명
getDescription ( string $resourceClass ) : array Gets the description of this filter for the given resource.

메소드 상세

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 - swagger (optional): additional parameters for the path operation, e.g. 'swagger' => ['description' => 'My Description'] The description can contain additional data specific to a filter.
public getDescription ( string $resourceClass ) : array
$resourceClass string
리턴 array