src/Entity/Request.php
public function setRequestData($requestData)
    {
        if (is_array($requestData)) {
            $this->requestData = http_build_query($requestData);
        } else {
            $this->requestData = $requestData;
        }
        return $this;
    }
public function setRequestData($requestData)
    {
        if (is_array($requestData)) {
            $this->requestData = http_build_query($requestData);
        } else {
            $this->requestData = $requestData;
        }
        return $this;
    }
public function setRequestData ( $ requestData ) { if ( is_array ( $ requestData ) ) { $ this -> requestData = http_build_query ( $ requestData ) ; } else { $ this -> requestData = $ requestData ; } return $ this ; }
Sets the request data to send with the request.
@param string|array $requestData
@return $this Implementing fluent interface.
Sets the request data to send with the request .