public function getRequestData($includeQueryParameters = true)
    {
        $requestData = array();
        if ($this->restApiRequestMethod == 'PUT' || $this->restApiRequestMethod == 'PATCH' || $this->restApiRequestMethod == 'POST') {
            $requestData = array_merge($this->restApiPostData, array(Defaults::$fullRequestDataName => $this->restApiPostData));
        }

        if ($includeQueryParameters === true) {
            return $requestData + $this->restApiGetData;
        }
        return $requestData;
    }
public function getRequestData($includeQueryParameters = true)
    {
        $requestData = array();
        if ($this->restApiRequestMethod == 'PUT' || $this->restApiRequestMethod == 'PATCH' || $this->restApiRequestMethod == 'POST') {
            $requestData = array_merge($this->restApiPostData, array(Defaults::$fullRequestDataName => $this->restApiPostData));
        }

        if ($includeQueryParameters === true) {
            return $requestData + $this->restApiGetData;
        }
        return $requestData;
    }
public function getRequestData ( $ includeQueryParameters = true ) { $ requestData = array ( ) ; if ( $ this -> restApiRequestMethod == 'PUT' || $ this -> restApiRequestMethod == 'PATCH' || $ this -> restApiRequestMethod == 'POST' ) { $ requestData = array_merge ( $ this -> restApiPostData , array ( Defaults :: $ fullRequestDataName => $ this -> restApiPostData ) ) ; } if ( $ includeQueryParameters === true ) { return $ requestData + $ this -> restApiGetData ; } return $ requestData ; }
Override parent method...because we must return the request-data of THIS REST-API request!
The original method would return the request-data of the ORIGINAL called REST-API request

@param boolean $includeQueryParameters
@return array
Override parent method ... because we must return the request - data of THIS REST - API request! The original method would return the request - data of the ORIGINAL called REST - API request