コード例 #1
0
 /**
  * @param QueryInterface $value
  *
  * @return $this
  */
 public function query(QueryInterface $value)
 {
     $this->params['query'] = $value->toArray();
     return $this;
 }
コード例 #2
0
ファイル: Boosting.php プロジェクト: Hsuing/sherlock
 /**
  * @param QueryInterface $value
  * @return $this
  */
 public function negative(QueryInterface $value)
 {
     $this->params["negative"] = $value->toArray();
     return $this;
 }