src/MediaServices/MediaServicesRestProxy.php
private function _updateEntity($entity, $path)
    {
        $method = Resources::HTTP_MERGE;
        $headers = [];
        $postParams = [];
        $queryParams = [];
        $statusCode = Resources::STATUS_NO_CONTENT;
        $body = $this->wrapAtomEntry($entity);

        $this->sendHttp(
            $method,
            $headers,
            $queryParams,
            $postParams,
            $path,
            $statusCode,
            $body
        );
    }
private function _updateEntity($entity, $path)
    {
        $method = Resources::HTTP_MERGE;
        $headers = [];
        $postParams = [];
        $queryParams = [];
        $statusCode = Resources::STATUS_NO_CONTENT;
        $body = $this->wrapAtomEntry($entity);

        $this->sendHttp(
            $method,
            $headers,
            $queryParams,
            $postParams,
            $path,
            $statusCode,
            $body
        );
    }
private function _updateEntity ( $ entity , $ path ) { $ method = Resources :: HTTP_MERGE ; $ headers = [ ] ; $ postParams = [ ] ; $ queryParams = [ ] ; $ statusCode = Resources :: STATUS_NO_CONTENT ; $ body = $ this -> wrapAtomEntry ( $ entity ) ; $ this -> sendHttp ( $ method , $ headers , $ queryParams , $ postParams , $ path , $ statusCode , $ body ) ; }
Update entity.

@param object $entity Entity data
@param string $path   REST path
Update entity .