예제 #1
0
 public function saveChanges($saveBundleString)
 {
     $saveService = new SaveService($this->entityManager, $this->getMetadata(), $this->interceptor);
     $saveBundle = $saveService->createSaveBundleFromString($saveBundleString);
     $result = $saveService->saveChanges($saveBundle);
     return $result;
 }
예제 #2
0
 public function saveChanges($payload)
 {
     $metadata = $this->getMetadata();
     $saveService = new SaveService($this->objectManager, $metadata, $this->interceptor);
     $saveBundle = $saveService->createSaveBundleFromString($payload);
     $result = $saveService->saveChanges($saveBundle);
     return $result;
 }