I have a multitude of parameters in
parameters.yml file, each parameter should have a different value based on logged in user’s role.
Is there is way to systematically decide and load correct value based on logged in user’s role?
parameters: user.address_code manager.address_code
Ideally, I don’t want to add conditions in my code for
user before I use
Source: Symfony Questions
Was this helpful?
0 / 0