Entity/DocumentRepository.php
changeset 65 ba6b8e38d90e
parent 63 774ba82dca59
child 67 989d9e117586
equal deleted inserted replaced
64:caeb4c8b5487 65:ba6b8e38d90e
   212             $this->reflectionSetField($baseDocument, $method_name, $value);
   212             $this->reflectionSetField($baseDocument, $method_name, $value);
   213             
   213             
   214         }
   214         }
   215         
   215         
   216         $this->getEntityManager()->persist($baseDocument);
   216         $this->getEntityManager()->persist($baseDocument);
   217         $this->getEntityManager()->flush();
       
   218         return $baseDocument;
   217         return $baseDocument;
   219     
   218     
   220     }
   219     }
   221     
   220     
   222     /**
   221     /**