protected function applyFilter(QueryBuilder $queryBuilder, $alias, FilterNode $filter)
    {
        $queryBuilderPatcher = new QueryBuilderPatcher(new QueryExpressionBuilder());

        return $queryBuilderPatcher->patch($queryBuilder, $filter, new QueryContext($alias));
    }
protected function applyFilter(QueryBuilder $queryBuilder, $alias, FilterNode $filter)
    {
        $queryBuilderPatcher = new QueryBuilderPatcher(new QueryExpressionBuilder());

        return $queryBuilderPatcher->patch($queryBuilder, $filter, new QueryContext($alias));
    }
protected function applyFilter ( QueryBuilder $ queryBuilder , $ alias , FilterNode $ filter ) { $ queryBuilderPatcher = new QueryBuilderPatcher ( new QueryExpressionBuilder ( ) ) ; return $ queryBuilderPatcher -> patch ( $ queryBuilder , $ filter , new QueryContext ( $ alias ) ) ; }
Apply one filter to the query builder

@param QueryBuilder $queryBuilder QueryBuilder
@param string       $alias        QueryBuilder root alias
@param FilterNode   $filter       Filter to apply

@return QueryBuilder
Apply one filter to the query builder