I need to have some configuration for my bundle in Symfony2
Where is the best place to put them?
and how can I retrieve them from there?
I used my Default DB parameters in PARAMETERS.INI
But I need Extra ones that I can retrieve them personally in code.
One should keep his parameters inside the bundles, for instance
src/Company/SomeBundle/Resources/config/parameters.yml
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With