name = $name; $this->boost = $boost; $this->must = $must; $this->should = $should; $this->mustNot = $not; } /** * {@inheritdoc} */ public function getType() { return QueryInterface::TYPE_BOOL; } /** * {@inheritdoc} * @codeCoverageIgnore */ public function getName() { return $this->name; } /** * {@inheritdoc} */ public function getBoost() { return $this->boost; } /** * Get Should queries * * @return QueryInterface[] * @codeCoverageIgnore */ public function getShould() { return $this->should; } /** * Get Must queries * * @return QueryInterface[] * @codeCoverageIgnore */ public function getMust() { return $this->must; } /** * Get Must Not queries * * @return QueryInterface[] * @codeCoverageIgnore */ public function getMustNot() { return $this->mustNot; } }