It doesn't change so much the solution. Implement a findAllWithPublic() method in the ObjectA repository. This method selects objects A, makes the join on objects B with the appropriate condition (the is_public_content = true), and returns all that. Then you can do your for without any problem.
My point is : you can do almost everything you want with the repository concept, use it! -- If you want to report a vulnerability issue on symfony, please send it to security at symfony-project.com You received this message because you are subscribed to the Google Groups "symfony users" group. To post to this group, send email to symfony-users@googlegroups.com To unsubscribe from this group, send email to symfony-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en