title: Get Doctrine or pass in service without using __construct - Symfony2
body: <p>I'm trying to extend a class, but I have this problem:</p>
  
  <p>(1) I need to conduct a simple database query, but if I pass in @doctrine.orm.entity_manager in services.yml I then need to pass a load of other values in and call parent::__construct (for the parent class) and I just can't get it working (another question exists for that but no luck).</p>
  
  <p>(2) If I don't create a __construct in my new extended class then it works but I can't get access to conduct the DB query.</p>
  
  <p>Is there a way of getting access to Doctrine, conducting a query, passing in @doctrine.orm.entity_manager or anything so I can conduct this query without having to call a _<em>construct on my new, extended class (and avoid having to pass in all those variables to then call the parent::</em>_construct which is causing such a problem).</p>
  
  <p>As I have been trying to do this for 2 days then I will take any hack if I have to (preferably not too much of a hack, but I may need to if I can't do this soon). To date I have never resorted to a hack with Symfony2, so this isn't usual for me. Thanks.</p>