Hi,

Can I propose a change to the way event listeners are registered
within the configuration:

listeners:
    event.string.id
          mybundlenamespace.id
              class: \Path\To\Class
              type: singleton|static
              method: observeMethod


The type parameter can dictate whether the method of an object should
be called from a static or as a singleton object, or any other way
possible.
The method parameter is obviously the name of the class to be called
which accepts one argument, the Event object.

Is this possible? Maybe The Listener Bundle?

M.

-- 
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

Reply via email to