src/Api/DocumentApiClient.php
protected function doStoreDocument($method, $uri, $urlParameters, Document $document)
    {
        $request = $this->requestHandler->createRequest(
            $method,
            $uri,
            $urlParameters,
            $this->documentDataSerializer->serializeDocumentData($document->getData())
        );
        $this->requestHandler->executeRequest($request, array(204));
    }
protected function doStoreDocument($method, $uri, $urlParameters, Document $document)
    {
        $request = $this->requestHandler->createRequest(
            $method,
            $uri,
            $urlParameters,
            $this->documentDataSerializer->serializeDocumentData($document->getData())
        );
        $this->requestHandler->executeRequest($request, array(204));
    }
protected function doStoreDocument ( $ method , $ uri , $ urlParameters , Document $ document ) { $ request = $ this -> requestHandler -> createRequest ( $ method , $ uri , $ urlParameters , $ this -> documentDataSerializer -> serializeDocumentData ( $ document -> getData ( ) ) ) ; $ this -> requestHandler -> executeRequest ( $ request , array ( 204 ) ) ; }
Stores a document.

@param string   $method        HTTP method to use
@param string   $uri           Endpoint URI
@param array    $urlParameters URL parameters
@param Document $document      The document to store
Stores a document .