/** * Retorna se foi definido uma condição para agrupamento * @return boolean */ public function hasHaving() { return !$this->having->isEmpty(); }