Final Class Yiisoft\Data\Db\FilterHandler\NotHandler
| Inheritance | Yiisoft\ |
|---|---|
| Implements | Yiisoft\ |
Public Methods
| Method | Description | Defined By |
|---|---|---|
| getCondition() | Yiisoft\ |
|
| getFilterClass() | Yiisoft\ |
Method Details
| public \ | ||
| $filter | \ |
|
| $context | Yiisoft\ |
|
public function getCondition(FilterInterface $filter, Context $context): ConditionInterface
{
/** @var Not $filter */
return new DbNotCondition(
$context->handleFilter($filter->filter),
);
}
User Contributed Notes
Leave a comment
Join the conversation to share a note.