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