title: Symfony choice what class to inject
body: <p>I use Symfony 4 and Lexik (to manage JWT) and FOSRest Bundle.</p>
  
  <p>When I sent a token I use this method :</p>
  
  <pre><code>public function getTokenUser(JWTTokenManagerInterface $JWTManager) {
      $user = $this-&gt;getUser();
      return new JsonResponse(['token' =&gt; $JWTManager-&gt;create($user)]);
  }
  </code></pre>
  
  <p>As I need to add data to my payload, I create a JWTManagerCustom class that extend from JWTManager.</p>
  
  <p>If I want that getTokenUser() use my Service I need to change the function signature like that :</p>
  
  <pre><code>public function getTokenUser(JWTManagerCustom $JWTManager) { ... }
  </code></pre>
  
  <p>I would prefer to continue to use the interface, how can I do ? </p>