I am using symfony2.
Where should I keep global parameteres?
like DEFINE in C++ header
If there is some rules ,I would like to follow.
I couldn't find description in official documents.
thanks in advance
I am using symfony2.
Where should I keep global parameteres?
like DEFINE in C++ header
If there is some rules ,I would like to follow.
I couldn't find description in official documents.
thanks in advance
put them in app/config/parameters.yml
parameters:
my_parameter: a_string
if they are specific to a bundle, put them in src/Company/MyBundle/Resources/config/parameters.yml