コード例 #1
0
 public function query(SphinxQL $query)
 {
     SphinxQL::forge($this->getConnection());
     return $query->execute();
     if ($result === false) {
         throw new \RuntimeException($this->connection->error);
     }
     return $result;
 }