Lines Matching refs:args
19 * @param AbstractQuery|array $args Should query
23 public function addShould($args): self
25 return $this->_addQuery('should', $args);
31 * @param AbstractQuery|array $args Must query
35 public function addMust($args): self
37 return $this->_addQuery('must', $args);
43 * @param AbstractQuery|array $args Must not query
47 public function addMustNot($args): self
49 return $this->_addQuery('must_not', $args);
102 * @param AbstractQuery|array $args Query
108 protected function _addQuery(string $type, $args): self
110 if (!\is_array($args) && !($args instanceof AbstractQuery)) {
114 return $this->addParam($type, $args);