title: Injecting problem - missing parent constructor call
body: <p>I am trying to inject my BaseService within antoher service where I need to call my repository that I wrote in BaseService.</p>
  <p>I think it's pretty simple thing but it marks __construct part with :</p>
  <blockquote>
  <p>Missing parent constructor call</p>
  </blockquote>
  <p>I made that logic in BaseService and it works</p>
  <pre><code>class BaseService
  {
      /** @var ContainerInterface */
      public $container;
      public $em;
  
      public function __construct(ContainerInterface $container, EntityManagerInterface $em)
      {
          $this-&gt;container = $container;
          $this-&gt;em        = $em;
      }
  
      /**
       * @return \Doctrine\Common\Persistence\ObjectRepository|\Doctrine\ORM\EntityRepository
       */
      public function getMyDataRepository()
      {
          return $this-&gt;em-&gt;getRepository(MyData::class);
      }
  }
  </code></pre>
  <p>and my other service:</p>
  <pre><code>class DataService extends AbstractAdmin
  {
      public function __construct(BaseService $baseService)
      {
          $this-&gt;baseService = $baseService;
      }
  
      public function getTransactions(Card $card)
      {
          return $this-&gt;getMyDataRepository()
              -&gt;createQueryBuilder('c')
              -&gt;getQuery();
      }
  }
  </code></pre>