PHP 클래스 ApiPlatform\Core\Bridge\Doctrine\Orm\Filter\NumericFilter
Filters collection by equality of numeric properties.
For each property passed, if the resource does not have such property or if
the value is not numeric, the property is ignored.
파일 보기
프로젝트 열기: api-platform/core
1 사용 예제들
공개 메소드들
보호된 메소드들
메소드 |
설명 |
|
filterProperty ( string $property, $value, Doctrine\ORM\QueryBuilder $queryBuilder, ApiPlatform\Core\Bridge\Doctrine\Orm\Util\QueryNameGeneratorInterface $queryNameGenerator, string $resourceClass, string $operationName = null ) |
|
|
isNumericField ( string $property, string $resourceClass ) : boolean |
Determines whether the given property refers to a numeric field. |
|
비공개 메소드들
메소드 |
설명 |
|
getType ( string $doctrineType ) : string |
Gets the PHP type corresponding to this Doctrine type. |
|
메소드 상세
protected filterProperty ( string $property, $value, Doctrine\ORM\QueryBuilder $queryBuilder, ApiPlatform\Core\Bridge\Doctrine\Orm\Util\QueryNameGeneratorInterface $queryNameGenerator, string $resourceClass, string $operationName = null ) |
$property |
string |
|
$queryBuilder |
Doctrine\ORM\QueryBuilder |
|
$queryNameGenerator |
ApiPlatform\Core\Bridge\Doctrine\Orm\Util\QueryNameGeneratorInterface |
|
$resourceClass |
string |
|
$operationName |
string |
|
Determines whether the given property refers to a numeric field.