Tag: symfony2

Symfony security annotation on controller class and inherited action method

This is a quick code example on how to extend the Symfony security extension in your bundle so you could have rules on the controller’s class as annotation and also inherit those and merge with the action method annotations. It’s

Tagged with: , , ,

Load configurations from custom bundle in Symfony2

When I build apps or add new functionality to Symfony2 I build it into a separate bundle, thus trying to keep the structure modular which is generally a good practice as everyone knows. Keeping all parts of the bundle together

Tagged with: , , ,