Final Class Yiisoft\Data\Db\FilterHandler\AndXHandler
| 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 AndX $filter */
return new DbAndXCondition(
...array_map(
$context->handleFilter(...),
$filter->filters,
),
);
}
User Contributed Notes
Leave a comment
Join the conversation to share a note.