title: Get path of image in specified bundle
body: <p>In my bundle I have a <code>Resources/public/images/image.jpg</code> file.</p>
  
  <p>This image is accessible via <code>http://localhost/bundles/mybundle/images/image.jpg</code></p>
  
  <p>How can I get this <code>/bundles/mybundle</code> prefix from a controller?<br>
  I want to be able to generate the path to the public file without hardcoding <code>/bundles/mybundle</code> prefix.</p>