Yep, that does the trick. Thanks again, Dustin. I wish the Symfony2 doc's were more up to date with this stuff. But alas, Symfony2 is only in beta, so I can't expect complete documentation.
On May 19, 5:19 pm, dustin10 <ddoberv...@gmail.com> wrote: > You must inject the services you need into your service. I use constructor > injection. > > Here is some code: > > This example listener has the router and the security context > injected:http://pastebin.com/m1MLqWQy > > Here is the service definition:http://pastebin.com/PcS4rm41 > > Hope that helps. > > Dustin Dobervich -- 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 users" group. To post to this group, send email to symfony-users@googlegroups.com To unsubscribe from this group, send email to symfony-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en