title: Dependency on a non-existent service "templating"
body: <p>I tried to use</p>
  
  <pre><code># app/config/services.yml
  services:
      project.controller.some:
          class: Project\SomeBundle\Controller\SomeController
          arguments: ['@templating']
  </code></pre>
  
  <p>and</p>
  
  <pre><code>namespace Project\SomeBundle\Controller;
  
  use Symfony\Bundle\FrameworkBundle\Templating\EngineInterface;
  use Symfony\Component\HttpFoundation\Response;
  
  class SomeController
  {
      private $templating;
  
      public function __construct(EngineInterface $templating)
      {
          $this-&gt;templating = $templating;
      }
  
      public function indexAction()
      {
          return $this-&gt;templating-&gt;render(
              'SomeBundle::template.html.twig',
              array(
  
              )
          );
      }
  }
  </code></pre>
  
  <p>in Symfony 4 flex. Now I get the error</p>
  
  <pre><code>ServiceNotFoundException
  
  The service "project.controller.some" has a dependency on a non-existent service "templating".
  </code></pre>
  
  <p>Please tell me how to solve this. My composer.json already contains "symfony/templating": "^4.0" but this seems not to be enough.</p>