Advertisement
Guest User

dto and exception

a guest
May 16th, 2013
84
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.60 KB | None | 0 0
  1. /**
  2. * Updates the given objekwohnraumobjektdto
  3. *
  4. * @param \WL\Test\Domain\Dto\Objektwohnraumobjektdto $objektwohnraumobjektdto
  5.  * @return void
  6.  */
  7. public function updateAction(\WL\Test\Domain\Dto\Objektwohnraumobjektdto $objektwohnraumobjektdto) {
  8.  
  9.     //$this->persistenceManager->persistAll();?
  10.     $modelObjektwohnraumobjekt=$objektwohnraumobjektdto->getObjektwohnraumobjekt();
  11.     $this->objektWohnraumobjektRepository->update($modelObjektwohnraumobjekt);
  12.  
  13.     $modelObjekt=$objektwohnraumobjektdto->getObjekt();
  14.     $this->objektRepository->update($modelObjekt);
  15.  
  16.     $this->redirect('index');
  17. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement