public function ContainerAwareTraceableEventDispatcher::__construct

Constructor.

Parameters

ContainerInterface $container A ContainerInterface instance:

Stopwatch $stopwatch A Stopwatch instance:

LoggerInterface $logger A LoggerInterface instance:

Overrides ContainerAwareEventDispatcher::__construct

File

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

Class

ContainerAwareTraceableEventDispatcher
Extends the ContainerAwareEventDispatcher to add some debugging tools.

Namespace

Symfony\Component\HttpKernel\Debug

Code

public function __construct(ContainerInterface $container, Stopwatch $stopwatch, LoggerInterface $logger = null) {
  parent::__construct($container);
  $this->stopwatch = $stopwatch;
  $this->logger = $logger;
  $this->called = array();
}