continue;
} if (!
$filter instanceof SingleFieldFilter
) { // this case should never happen, because all core filters are an instead of SingleFieldFilter or MultiFilter
$mapped[self::NOT_RELEVANT
][] =
$filter;
continue;
} // find the first to many association path
$association =
$this->
findToManyPath($filter,
$definition);
if ($association === null
) { // filters which not point to a to-many association are not relevant
$mapped[self::NOT_RELEVANT
][] =
$filter;
continue;
} // checks if the current filter should check if the records has entries for the to many association
if ($this->
isEmptyFilter($filter)) { $mapped[self::NOT_RELEVANT
][] =
$filter;