title: How define some PHP constant in the Symfony configuration?
body: <p>this is my first post, so i will try to be clear</p>
  
  <p>So i need to define some constants in the Symfony configuration (in a .yaml file, i guess)
  I know i could define them throw <code>public const MY_CONST</code> but that is not what I want.</p>
  
  <p>I guess this is what i need (the second part, i am not using Abstract controller as i am not in a controller)</p>
  
  <blockquote>
    <p><a href="https://symfony.com/doc/current/configuration.html#accessing-configuration-parameters" rel="nofollow noreferrer">https://symfony.com/doc/current/configuration.html#accessing-configuration-parameters</a></p>
  </blockquote>
  
  <p>But I just can't get it to work. Could anyone help me, by giving me an exemple, or maybe an other way to do ?</p>
  
  <p>Thanks guys.</p>