protected function verifyLimits (SelectQuery $query) {
        if (empty($query->getLimit())) {
            $query->limit($this->getDefaultLimit());

        } else if ($query->getLimit() > $this->getMaxLimit()) {
            $query->limit($this->getMaxLimit());
        }
    }
protected function verifyLimits (SelectQuery $query) {
        if (empty($query->getLimit())) {
            $query->limit($this->getDefaultLimit());

        } else if ($query->getLimit() > $this->getMaxLimit()) {
            $query->limit($this->getMaxLimit());
        }
    }
protected function verifyLimits ( SelectQuery $ query ) { if ( empty ( $ query -> getLimit ( ) ) ) { $ query -> limit ( $ this -> getDefaultLimit ( ) ) ; } else if ( $ query -> getLimit ( ) > $ this -> getMaxLimit ( ) ) { $ query -> limit ( $ this -> getMaxLimit ( ) ) ; } }
Verifica que se hayan establecido los limites de la consulta
@param SelectQuery $query
Verifica que se hayan establecido los limites de la consulta