title: Symfony 5 - How to inject bundle configuration file in service or controller
body: <p>I'm actually learning how SF5 works and I have a question regarding config file injection into service or controller.</p>
  <p>I have created an &quot;AuthenticationBundle&quot;. Then in config/packages/authentication.yaml, I have put the configuration required for the module.</p>
  <pre><code>authentication:
     login : 1234
     password : 5678
  </code></pre>
  <p>I also created Configuration (explaining config via TreeBuilder) and Extension files inside DepedencyInjection repository of the bundle.</p>
  <p>From there, inside load function, I am able to see the content of my configuration file.</p>
  <p><a href="https://symfony.com/doc/current/bundles/extension.html" rel="nofollow noreferrer">https://symfony.com/doc/current/bundles/extension.html</a></p>
  <p>But now, how can I inject it into Controller or Service ? The documentation is not enough clear on this point (at least for a new SF user point of view).</p>
  <p>Thanks for helping.</p>