protected function ContainerAwareTraceableEventDispatcher::lazyLoad

Lazily loads listeners for this event from the dependency injection container.

Parameters

string $eventName The name of the event to dispatch. The name of: the event is the name of the method that is invoked on listeners.

Overrides ContainerAwareEventDispatcher::lazyLoad

File

drupal/core/vendor/symfony/http-kernel/Symfony/Component/HttpKernel/Debug/ContainerAwareTraceableEventDispatcher.php, line 170

Class

ContainerAwareTraceableEventDispatcher
Extends the ContainerAwareEventDispatcher to add some debugging tools.

Namespace

Symfony\Component\HttpKernel\Debug

Code

protected function lazyLoad($eventName) {
  $e = $this->stopwatch
    ->start($eventName . '.loading', 'event_listener_loading');
  parent::lazyLoad($eventName);
  $e
    ->stop();
}