Hi all,
I've got a problem with custom listener after upgrading to PR6.
Here my config :
services:
kernel.listener.page_listener:
class: Bundle\PageBundle\Listener\PageListener
tags:
- { name: kernel.listener }
And i have this error :
InvalidArgumentException: Service "kernel.listener.page_listener" must
define the "event" attribute on "kernel.listener" tags. in /Users/
yohan/Sites/symfony2/vendor/symfony/src/Symfony/Bundle/FrameworkBundle/
DependencyInjection/Compiler/RegisterKernelListenersPass.php on line
31
But the documentation don't speak about an event attribute... Have you
an idea ?
Thanks in advance,
Yohan.
--
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 [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-users?hl=en