Elastica\Query\Term::__construct PHP Method

__construct() public method

Constructs the Term query object.
public __construct ( array $term = [] )
$term array OPTIONAL Calls setTerm with the given $term array
    public function __construct(array $term = [])
    {
        $this->setRawTerm($term);
    }