Re: [symfony-users] [Symfony2] How extend controller in bundle?

2011-06-21 Thread Christophe COEVOET
Le 21/06/2011 10:43, ? a écrit : I read in symfony documentation *How to extend a Class without using Inheritance* http://symfony.com/doc/current/cookbook/event_dispatcher/class_extension.html and now thinking about how extend controller in bundle using event dispatcher. First I

Re: [symfony-users] [Symfony2] How extend controller in bundle?

2011-06-21 Thread Christophe COEVOET
Le 21/06/2011 10:46, Christophe COEVOET a écrit : Le 21/06/2011 10:43, ? a écrit : I read in symfony documentation *How to extend a Class without using Inheritance* http://symfony.com/doc/current/cookbook/event_dispatcher/class_extension.html and now thinking about how extend

Re: [symfony-users] [Symfony2] How extend controller in bundle?

2011-06-21 Thread Jordi Boggiano
On 21.06.2011 10:47, Christophe COEVOET wrote: Le 21/06/2011 10:46, Christophe COEVOET a écrit : Le 21/06/2011 10:43, Ваня Масич a écrit : I read in symfony documentation *How to extend a Class without using Inheritance*

Re: [symfony-users] [Symfony2] How extend controller in bundle?

2011-06-21 Thread Ваня Масич
But how I can take event dispatcher instance in bundle controller that know about registered listeners (as service), or every event dispatcher instance take listeners in service container by tag kernel.listener? In past i think that for use event dispatcher I should make new instance of it, and

Re: [symfony-users] [Symfony2] How extend controller in bundle?

2011-06-21 Thread Christophe COEVOET
Le 21/06/2011 11:22, ? a écrit : But how I can take event dispatcher instance in bundle controller that know about registered listeners (as service), or every event dispatcher instance take listeners in service container by tag kernel.listener? In past i think that for use event

Re: [symfony-users] [Symfony2] How extend controller in bundle?

2011-06-21 Thread Ваня Масич
Thanks for help, I don't known about event_dispatcher service before. -- 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