for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Manticoresearch\Query;
use Manticoresearch\Query;
class BoolQuery extends Query
{
public function must($args):self
$this->params['must'][]= $args;
return $this;
}
public function mustNot($args):self
$this->params['must_not'][]= $args;
public function should($args):self
$this->params['should'][]= $args;
public function toArray()
return $this->convertArray(['bool' => $this->params]);