/** * Return the total amount of time for the last search. * * @return int */ public function getTotalTime() { if (isset($this->results)) { return $this->results->getTotalTime(); } }
/** * Get the total amount of time the search took to complete. * * @return int */ public function getTotalTime() { return $this->elasticaResultSet->getTotalTime(); }