Advertisement
Guest User

Untitled

a guest
Nov 24th, 2014
150
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.61 KB | None | 0 0
  1. <?php
  2. $arrData = array(
  3. 'username' => 'test',
  4. 'email' => 'test@test.at',
  5. 'images' => array(
  6. array(
  7. 'name' => 'test',
  8. 'url' => 'http://url1.test'
  9. ),
  10. array(
  11. 'name' => 'test',
  12. 'url' => 'http://url1.test'
  13. )
  14. )
  15. );
  16. ?>
  17.  
  18. <?php
  19. $hydrator = new DoctrineModuleStdlibHydratorDoctrineObject($objectManager);
  20. $user = $hydrator->hydrate($arrData, new ApplicationEntityUser());
  21. ?>
  22.  
  23. DoctrineORMORMException
  24. The identifier id is missing for a query of ApplicationEntityImage
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement