title: How to inject non-default entity managers?
body: <p>In Symfony2 you can work with multiple entity managers and use something like the code below:</p>
  
  <pre><code>$em = $this-&gt;get('doctrine')-&gt;getManager();
  $em = $this-&gt;get('doctrine')-&gt;getManager('default');
  
  $customerEm =  $this-&gt;get('doctrine')-&gt;getManager('customer');
  </code></pre>
  
  <p>We can inject the default manager to any service by using:</p>
  
  <pre><code>"@doctrine.orm.entity_manager"
  </code></pre>
  
  <p>How can you inject non-default entity managers into services?</p>