Paginator/DataSetPaginator.php
protected function replaceHaving(Query\Expr\Andx $having, ColumnCollection $columns, QueryBuilder $queryBuilder)
    {
        foreach ($having->getParts() as $part) {
            if ($part instanceof Query\Expr\Comparison) {
                $this->replaceSingleHavingClause($part, $columns, $queryBuilder);
            }
        }
        
        $queryBuilder->resetDQLPart('having');
        $queryBuilder->resetDQLPart('groupBy');
    }
protected function replaceHaving(Query\Expr\Andx $having, ColumnCollection $columns, QueryBuilder $queryBuilder)
    {
        foreach ($having->getParts() as $part) {
            if ($part instanceof Query\Expr\Comparison) {
                $this->replaceSingleHavingClause($part, $columns, $queryBuilder);
            }
        }
        
        $queryBuilder->resetDQLPart('having');
        $queryBuilder->resetDQLPart('groupBy');
    }
protected function replaceHaving ( Query \ Expr \ Andx $ having , ColumnCollection $ columns , QueryBuilder $ queryBuilder ) { foreach ( $ having -> getParts ( ) as $ part ) { if ( $ part instanceof Query \ Expr \ Comparison ) { $ this -> replaceSingleHavingClause ( $ part , $ columns , $ queryBuilder ) ; } } $ queryBuilder -> resetDQLPart ( 'having' ) ; $ queryBuilder -> resetDQLPart ( 'groupBy' ) ; }
Replaces all having clauses and resets DQL's having part

@param Query\Expr\Andx  $having
@param ColumnCollection $columns
@param QueryBuilder     $queryBuilder
Replaces all having clauses and resets DQL s having part