Elastica\Query\Common::setQueryParam PHP Method

setQueryParam() public method

Set a parameter in the body of this query.
public setQueryParam ( string $key, mixed $value )
$key string parameter key
$value mixed parameter value
    public function setQueryParam($key, $value)
    {
        $this->_queryParams[$key] = $value;
        return $this;
    }