private function mergeAfterSave($result)
    {
        $this->applyOperations($this->operationSet, $this->serverData);
        $this->mergeFromServer($result);
        $this->operationSet = array();
        $this->rebuildEstimatedData();
    }
private function mergeAfterSave($result)
    {
        $this->applyOperations($this->operationSet, $this->serverData);
        $this->mergeFromServer($result);
        $this->operationSet = array();
        $this->rebuildEstimatedData();
    }
private function mergeAfterSave ( $ result ) { $ this -> applyOperations ( $ this -> operationSet , $ this -> serverData ) ; $ this -> mergeFromServer ( $ result ) ; $ this -> operationSet = array ( ) ; $ this -> rebuildEstimatedData ( ) ; }
Merge server data after a save completes.

@param array $result Data retrieved from server.

@return null
Merge server data after a save completes .