Hi, in Symfony 2 we have getDoctrine() and getRequest() as shortcuts for the services 'doctrine' and 'request' in the base controller. It would be really nice if two other shortcut methods would be introduced. In my opinion the services 'security.context' and 'session' are used very often, too. It would be great to have the methods getSecurityContext() and getSession() in the controller. This would not only improve readability but add autocompletion in IDE's, too.
Best regards Christian -- If you want to report a vulnerability issue on symfony, please send it to security at symfony-project.com You received this message because you are subscribed to the Google Groups "symfony developers" group. To post to this group, send email to symfony-devs@googlegroups.com To unsubscribe from this group, send email to symfony-devs+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/symfony-devs?hl=en