Пример #1
0
 /**
  * Gets the 'debug.event_dispatcher' service.
  *
  * This service is shared.
  * This method always returns the same instance of the service.
  *
  * @return Symfony\Component\HttpKernel\Debug\TraceableEventDispatcher A Symfony\Component\HttpKernel\Debug\TraceableEventDispatcher instance.
  */
 protected function getDebug_EventDispatcherService()
 {
     $this->services['debug.event_dispatcher'] = $instance = new \Symfony\Component\HttpKernel\Debug\TraceableEventDispatcher($this->get('event_dispatcher'), $this->get('debug.stopwatch'), $this->get('monolog.logger.event', ContainerInterface::NULL_ON_INVALID_REFERENCE));
     $instance->setProfiler($this->get('profiler', ContainerInterface::NULL_ON_INVALID_REFERENCE));
     return $instance;
 }
 /**
  * Gets the 'debug.event_dispatcher' service.
  *
  * This service is shared.
  * This method always returns the same instance of the service.
  *
  * @return Symfony\Component\HttpKernel\Debug\TraceableEventDispatcher A Symfony\Component\HttpKernel\Debug\TraceableEventDispatcher instance.
  */
 protected function getDebug_EventDispatcherService()
 {
     $this->services['debug.event_dispatcher'] = $instance = new \Symfony\Component\HttpKernel\Debug\TraceableEventDispatcher($this->get('event_dispatcher'), $this->get('debug.stopwatch'), $this->get('monolog.logger.event'));
     $instance->setProfiler($this->get('profiler'));
     return $instance;
 }