Elastica\Query\Prefix::__construct PHP Method

__construct() public method

Constructs the Prefix query object.
public __construct ( array $prefix = [] )
$prefix array OPTIONAL Calls setRawPrefix with the given $prefix array
    public function __construct(array $prefix = [])
    {
        $this->setRawPrefix($prefix);
    }