public function current() { if ($this->valid()) { return $this->_results[$this->key()]; } else { return false; } }
public function current() { return new SugarSeachEngineElasticResult($this->elasticaResultSet->current()); }