getTotalTime() public method

Returns the total number of ms for this search to complete.
public getTotalTime ( ) : integer
return integer Total time
Exemplo n.º 1
0
 /**
  * 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();
 }