示例#1
0
 /**
  * @param QueryInterface $value
  *
  * @return $this
  */
 public function query(QueryInterface $value)
 {
     $this->params['query'] = $value->toArray();
     return $this;
 }
示例#2
0
 /**
  * @param QueryInterface $value
  * @return $this
  */
 public function negative(QueryInterface $value)
 {
     $this->params["negative"] = $value->toArray();
     return $this;
 }