Symfony\Bundle\FrameworkBundle\Debug\TraceableEventDispatcher::__construct PHP Method

__construct() public method

Constructor.
public __construct ( Symfony\Component\DependencyInjection\ContainerInterface $container, Symfony\Component\HttpKernel\Log\LoggerInterface $logger = null )
$container Symfony\Component\DependencyInjection\ContainerInterface A ContainerInterface instance
$logger Symfony\Component\HttpKernel\Log\LoggerInterface A LoggerInterface instance
    public function __construct(ContainerInterface $container, LoggerInterface $logger = null)
    {
        parent::__construct($container);

        $this->logger = $logger;
        $this->called = array();
    }