From a Symfony 4 project, Is there a properly/symfony way for get the root path directory from a Fixture class ?
The final goal :
I use fixtures class for load some "default" datas in my database when I deploy my website. (May be its not a good practice)
Among theses defaults datas, I need to store the root path directory of the project because I need this information from custom utils and services class in the project.
I know there are multiple ways for that. Currently, I hard coded the absolute path ( <= best ugliest way ever ;) )