lib/Elastica/Bulk.php
public function setRequestParam(string $name, $value): self
    {
        $this->_requestParams[$name] = $value;

        return $this;
    }
public function setRequestParam(string $name, $value): self
    {
        $this->_requestParams[$name] = $value;

        return $this;
    }
public function setRequestParam ( string $ name , $ value ) : self { $ this -> _requestParams [ $ name ] = $ value ; return $ this ; }
Set a url parameter on the request bulk request.

@param string $name  name of the parameter
@param mixed  $value value of the parameter

@return $this
Set a url parameter on the request bulk request .