问题
I am trying to include FOSUserBundle
in my Symfony application. The doc mentions an app/config/config.yml
file, but there is none in my application. I think it's because I have a Flex structure.
Anyone knows where I should put the fos_user
configuration in my app?
回答1:
The config file should be config/packages/fos_user.yaml
with the symfony flex structure.
The friendsofsymfony/user-bundle
recipe's pull request is still not merged as of 2018-01-25.
来源:https://stackoverflow.com/questions/48445106/where-is-config-yml-for-fosuserbundle-configuration-located-in-flex