title: How do I get a list of bundles in symfony2/symfony3?
body: <p>I've just started using symfony and I'd like to get a list of bundles from a particular vendor, iterate through them and call a $bundle->renderSomething() function on each default controller.</p>
  
  <p>Firstly, I need to get the list of bundles to iterate, or iterate through each object. Any ideas on the best way to do that?</p>