php - How to extend FOSUser Bundle in multiple bundle? -
Can someone help me overwrite FOSUSerBundle
in multiple locations (bundles)?
I have been overwritten in separate bundle with the name "UserBundle"
user_type = ADMIN
, but now I need the same FOSUserBundle
succession . user_type = client
with "clientbundle"
,
In this way I have several roles for the user backend and the second is for the frontend And can be more
Please help me on the advance issue. -Content "itemprop =" text ">
You can not easily ... Symfony2 bundle architecture for heritage is similar to PHP, you can not get more than a bundle, as you get multiple times You can not forgive the square in PHP, but you need to think again about how to divide your application into several bundles.
Comments
Post a Comment