/** * Gets the 'event_dispatcher' service. * * This service is shared. * This method always returns the same instance of the service. * * @return Symfony\Component\HttpKernel\Debug\ContainerAwareTraceableEventDispatcher A Symfony\Component\HttpKernel\Debug\ContainerAwareTraceableEventDispatcher instance. */ protected function getEventDispatcherService() { $this->services['event_dispatcher'] = $instance = new \Symfony\Component\HttpKernel\Debug\ContainerAwareTraceableEventDispatcher($this, $this->get('debug.stopwatch'), $this->get('monolog.logger.event')); $instance->addListenerService('kernel.controller', array(0 => 'data_collector.router', 1 => 'onKernelController'), 0); $instance->addListenerService('kernel.request', array(0 => 'security.firewall', 1 => 'onKernelRequest'), 8); $instance->addListenerService('kernel.response', array(0 => 'security.rememberme.response_listener', 1 => 'onKernelResponse'), 0); $instance->addListenerService('kernel.response', array(0 => 'monolog.handler.firephp', 1 => 'onKernelResponse'), 0); $instance->addListenerService('kernel.request', array(0 => 'assetic.request_listener', 1 => 'onKernelRequest'), 0); $instance->addListenerService('kernel.controller', array(0 => 'sensio_framework_extra.controller.listener', 1 => 'onKernelController'), 0); $instance->addListenerService('kernel.controller', array(0 => 'sensio_framework_extra.converter.listener', 1 => 'onKernelController'), 0); $instance->addListenerService('kernel.controller', array(0 => 'sensio_framework_extra.view.listener', 1 => 'onKernelController'), 0); $instance->addListenerService('kernel.view', array(0 => 'sensio_framework_extra.view.listener', 1 => 'onKernelView'), 0); $instance->addListenerService('kernel.response', array(0 => 'sensio_framework_extra.cache.listener', 1 => 'onKernelResponse'), 0); $instance->addListenerService('kernel.controller', array(0 => 'acme.demo.listener', 1 => 'onKernelController'), 0); $instance->addSubscriberService('response_listener', 'Symfony\\Component\\HttpKernel\\EventListener\\ResponseListener'); $instance->addSubscriberService('streamed_response_listener', 'Symfony\\Component\\HttpKernel\\EventListener\\StreamedResponseListener'); $instance->addSubscriberService('locale_listener', 'Symfony\\Component\\HttpKernel\\EventListener\\LocaleListener'); $instance->addSubscriberService('session_listener', 'Symfony\\Bundle\\FrameworkBundle\\EventListener\\SessionListener'); $instance->addSubscriberService('profiler_listener', 'Symfony\\Component\\HttpKernel\\EventListener\\ProfilerListener'); $instance->addSubscriberService('data_collector.request', 'Symfony\\Component\\HttpKernel\\DataCollector\\RequestDataCollector'); $instance->addSubscriberService('router_listener', 'Symfony\\Component\\HttpKernel\\EventListener\\RouterListener'); $instance->addSubscriberService('twig.exception_listener', 'Symfony\\Component\\HttpKernel\\EventListener\\ExceptionListener'); $instance->addSubscriberService('swiftmailer.email_sender.listener', 'Symfony\\Bundle\\SwiftmailerBundle\\EventListener\\EmailSenderListener'); $instance->addSubscriberService('web_profiler.debug_toolbar', 'Symfony\\Bundle\\WebProfilerBundle\\EventListener\\WebDebugToolbarListener'); return $instance; }
/** * Gets the 'event_dispatcher' service. * * This service is shared. * This method always returns the same instance of the service. * * @return Symfony\Component\HttpKernel\Debug\ContainerAwareTraceableEventDispatcher A Symfony\Component\HttpKernel\Debug\ContainerAwareTraceableEventDispatcher instance. */ protected function getEventDispatcherService() { $this->services['event_dispatcher'] = $instance = new \Symfony\Component\HttpKernel\Debug\ContainerAwareTraceableEventDispatcher($this, $this->get('debug.stopwatch'), $this->get('monolog.logger.event')); $instance->addListenerService('kernel.controller', array(0 => 'data_collector.router', 1 => 'onKernelController'), 0); $instance->addListenerService('kernel.request', array(0 => 'security.firewall', 1 => 'onKernelRequest'), 8); $instance->addListenerService('kernel.response', array(0 => 'security.rememberme.response_listener', 1 => 'onKernelResponse'), 0); $instance->addListenerService('kernel.response', array(0 => 'monolog.handler.firephp', 1 => 'onKernelResponse'), 0); $instance->addListenerService('kernel.request', array(0 => 'assetic.request_listener', 1 => 'onKernelRequest'), 0); $instance->addListenerService('kernel.controller', array(0 => 'sensio_framework_extra.controller.listener', 1 => 'onKernelController'), 0); $instance->addListenerService('kernel.controller', array(0 => 'sensio_framework_extra.converter.listener', 1 => 'onKernelController'), 0); $instance->addListenerService('kernel.controller', array(0 => 'sensio_framework_extra.view.listener', 1 => 'onKernelController'), 0); $instance->addListenerService('kernel.view', array(0 => 'sensio_framework_extra.view.listener', 1 => 'onKernelView'), 0); $instance->addListenerService('kernel.response', array(0 => 'sensio_framework_extra.cache.listener', 1 => 'onKernelResponse'), 0); $instance->addListenerService('buggl.local_author_registration', array(0 => 'buggl_main.listener.registration', 1 => 'mailPostRegister'), 0); $instance->addListenerService('buggl.local_author_registration', array(0 => 'buggl_main.listener.registration', 1 => 'update'), 0); $instance->addListenerService('buggl.verify_email', array(0 => 'buggl_main.listener.registration', 1 => 'sendMail'), 0); $instance->addListenerService('buggl.activity', array(0 => 'buggl_main.listener.activity', 1 => 'handleActivity'), 0); $instance->addListenerService('buggl.password_reset_request', array(0 => 'buggl_main.listener.password_reset', 1 => 'sendPasswordResetEmail'), 0); $instance->addListenerService('buggl.eguide_update_category', array(0 => 'buggl_main.listener.eguide_category', 1 => 'updateEguideCategoryNames'), 0); $instance->addListenerService('buggl.local_reference_response', array(0 => 'buggl_main.listener.local_reference', 1 => 'updateLocalReferenceRequestStatus'), 0); $instance->addListenerService('kernel.controller', array(0 => 'buggl.authenticate.action_listener', 1 => 'onKernelController'), 0); $instance->addListenerService('buggl.follow_user', array(0 => 'buggl_main.listener.follow', 1 => 'update'), 0); $instance->addListenerService('buggl.republish_eguide', array(0 => 'buggl_main.mail_notification', 1 => 'sendMail'), 0); $instance->addListenerService('buggl.denied_eguide', array(0 => 'buggl_main.mail_notification', 1 => 'sendMail'), 0); $instance->addListenerService('buggl.approve_eguide', array(0 => 'buggl_main.mail_notification', 1 => 'sendMail'), 0); $instance->addListenerService('buggl.contact_us', array(0 => 'buggl_main.mail_notification', 1 => 'sendMail'), 0); $instance->addListenerService('buggl.review', array(0 => 'buggl_main.mail_notification', 1 => 'sendMail'), 0); $instance->addListenerService('buggl.purchase', array(0 => 'buggl_main.mail_notification', 1 => 'sendMail'), 0); $instance->addListenerService('buggl.notify_buyer', array(0 => 'buggl_main.mail_notification', 1 => 'sendMail'), 0); $instance->addListenerService('buggl.account_suspended', array(0 => 'buggl_main.mail_notification', 1 => 'sendMail'), 0); $instance->addListenerService('kernel.request', array(0 => 'buggl_main.post_filter_last_active', 1 => 'onKernelRequest'), 0); $instance->addListenerService('buggl.update_free_search', array(0 => 'buggl_main.free_search', 1 => 'updateFreeSearchField'), 0); $instance->addListenerService('kernel.controller', array(0 => 'acme.demo.listener', 1 => 'onKernelController'), 0); $instance->addSubscriberService('response_listener', 'Symfony\\Component\\HttpKernel\\EventListener\\ResponseListener'); $instance->addSubscriberService('streamed_response_listener', 'Symfony\\Component\\HttpKernel\\EventListener\\StreamedResponseListener'); $instance->addSubscriberService('locale_listener', 'Symfony\\Component\\HttpKernel\\EventListener\\LocaleListener'); $instance->addSubscriberService('session_listener', 'Symfony\\Bundle\\FrameworkBundle\\EventListener\\SessionListener'); $instance->addSubscriberService('profiler_listener', 'Symfony\\Component\\HttpKernel\\EventListener\\ProfilerListener'); $instance->addSubscriberService('data_collector.request', 'Symfony\\Component\\HttpKernel\\DataCollector\\RequestDataCollector'); $instance->addSubscriberService('router_listener', 'Symfony\\Component\\HttpKernel\\EventListener\\RouterListener'); $instance->addSubscriberService('twig.exception_listener', 'Symfony\\Component\\HttpKernel\\EventListener\\ExceptionListener'); $instance->addSubscriberService('swiftmailer.email_sender.listener', 'Symfony\\Bundle\\SwiftmailerBundle\\EventListener\\EmailSenderListener'); $instance->addSubscriberService('web_profiler.debug_toolbar', 'Symfony\\Bundle\\WebProfilerBundle\\EventListener\\WebDebugToolbarListener'); return $instance; }