src/Query/SelectQuery.php
public function having($field, $condition = false, $operator = '=')
    {
        if (func_num_args() >= 2) {
            $this->having->addCondition($field, $condition, $operator);
        } else {
            $this->having->addCondition($field);
        }

        return $this;
    }
public function having($field, $condition = false, $operator = '=')
    {
        if (func_num_args() >= 2) {
            $this->having->addCondition($field, $condition, $operator);
        } else {
            $this->having->addCondition($field);
        }

        return $this;
    }
public function having ( $ field , $ condition = false , $ operator = '=' ) { if ( func_num_args ( ) >= 2 ) { $ this -> having -> addCondition ( $ field , $ condition , $ operator ) ; } else { $ this -> having -> addCondition ( $ field ) ; } return $ this ; }
Sets the having conditions for the query.

@param array|string $field
@param string|bool  $condition condition value (optional)
@param string       $operator  operator (optional)

@return self
Sets the having conditions for the query .