Doctrine nested array hydration
问题 i've try to hydrate an nested array to entities. The array looks something like this <?php $arrData = array( 'username' => 'test', 'email' => 'test@test.at', 'images' => array( array( 'name' => 'test', 'url' => 'http://url1.test' ), array( 'name' => 'test', 'url' => 'http://url1.test' ) ) ); ?> So how you can see, there is an one to many relation between user and images. So if what i want to do, is i want do hydrate them into an User entity something like this: <?php $hydrator = new