/** * @param BuilderInterface $query Query. * @param string $boolType Possible boolType values: * - must * - must_not * - should. */ public function addQuery(BuilderInterface $query, $boolType = 'must') { $this->queries->add($query, $boolType); }