Final Class Yiisoft\Data\Cycle\Reader\FilterHandler\GreaterThanHandler
| Inheritance | Yiisoft\ |
|---|---|
| Implements | Yiisoft\ |
Public Methods
| Method | Description | Defined By |
|---|---|---|
| getAsWhereArguments() | Yiisoft\ |
|
| getFilterClass() | Yiisoft\ |
Method Details
| public array getAsWhereArguments ( \ | ||
| $filter | \ |
|
| $handlers | array | |
public function getAsWhereArguments(FilterInterface $filter, array $handlers): array
{
/** @var GreaterThan $filter */
return [$filter->field, '>', $filter->value];
}
| public string getFilterClass ( ) |
public function getFilterClass(): string
{
return GreaterThan::class;
}
User Contributed Notes
Leave a comment
Join the conversation to share a note.