I use Symfony 5 and Solarium. I want to get the project dir (or root dir) in my Controller (extends from AbstractController).
I saw some anwers with kernel, creating new services, etc..
But, isn't it just a function that call the project dir without creating some custom services etc..?
Thanks !