public function TraceableEventDispatcher::__construct in Zircon Profile 8.0
Same name and namespace in other branches
- 8 vendor/symfony/event-dispatcher/Debug/TraceableEventDispatcher.php \Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher::__construct()
Constructor.
Parameters
EventDispatcherInterface $dispatcher An EventDispatcherInterface instance:
Stopwatch $stopwatch A Stopwatch instance:
LoggerInterface $logger A LoggerInterface instance:
File
- vendor/
symfony/ event-dispatcher/ Debug/ TraceableEventDispatcher.php, line 43
Class
- TraceableEventDispatcher
- Collects some data about event listeners.
Namespace
Symfony\Component\EventDispatcher\DebugCode
public function __construct(EventDispatcherInterface $dispatcher, Stopwatch $stopwatch, LoggerInterface $logger = null) {
$this->dispatcher = $dispatcher;
$this->stopwatch = $stopwatch;
$this->logger = $logger;
$this->called = array();
$this->wrappedListeners = array();
}