On Oct 24, 2011, at 13:32 , rihad wrote: > Yeah, but I thought Router was a core Symfony (or web framework) > concept?
sure .. but you have a misunderstanding of what the base Controller class is about. its there to ease development by providing methods for common tasks. its not about giving you auto completed access for every possible service, because that would be impossible since any Bundle can add new ones. so think of the provided methods as convenience methods .. if you think something is missing because of your use cases, then add them. semi related: personally i dont use the base Controller .. ever .. and i do not inject the DIC into controllers either: http://symfony.com/doc/current/cookbook/controller/service.html regards, Lukas Kahwe Smith [email protected] -- 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 [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/symfony-devs?hl=en
