title: Symfony3 : Inject several @doctrine.orm.entity_manager in a service
body: <p>I work with <a href="https://symfony.com/doc/current/doctrine/multiple_entity_managers.html" rel="nofollow noreferrer">several connexion</a> </p>
  
  <p>Here is my config.yml :</p>
  
  <pre><code>doctrine:
      dbal:
          default_connection: connexion_1# specify the connexion used by default
          connections:
              connexion_1:
                  driver:   "%database_driver1%"  
                   ....
              connexion_2:
                  driver:    "%database_driver2%" 
                   ...
  </code></pre>
  
  <p>I want to inject 2 connexion entity manager in a service.</p>
  
  <p>In my service.yml i can just inject one entity_manager named "@doctrine.orm.entity_manager" . This is the default manager</p>
  
  <pre><code>@doctrine.orm.entity_manager argument
      zip_command:
          class: BackEndBundle\Command\ZipCommand
          arguments:
              - '@doctrine.orm.entity_manager'
          tags:
              -  { name: console.command }         
  </code></pre>
  
  <p>How can inject an other connexion ?</p>