Example #1
0
 /**
  * Flush updates
  *
  * @param string $objectType
  * @return SaveResult
  */
 private function flushUpdates($objectType)
 {
     $result = $this->client->update($this->bulkUpdateRecords[$objectType], $objectType);
     $this->bulkUpdateRecords[$objectType] = array();
     return $result;
 }