public function ContainerAwareEventDispatcher::__construct in Zircon Profile 8
Same name in this branch
- 8 vendor/symfony/event-dispatcher/ContainerAwareEventDispatcher.php \Symfony\Component\EventDispatcher\ContainerAwareEventDispatcher::__construct()
- 8 core/lib/Drupal/Component/EventDispatcher/ContainerAwareEventDispatcher.php \Drupal\Component\EventDispatcher\ContainerAwareEventDispatcher::__construct()
Same name and namespace in other branches
- 8.0 vendor/symfony/event-dispatcher/ContainerAwareEventDispatcher.php \Symfony\Component\EventDispatcher\ContainerAwareEventDispatcher::__construct()
Constructor.
Parameters
ContainerInterface $container A ContainerInterface instance:
File
- vendor/
symfony/ event-dispatcher/ ContainerAwareEventDispatcher.php, line 52
Class
- ContainerAwareEventDispatcher
- Lazily loads listeners and subscribers from the dependency injection container.
Namespace
Symfony\Component\EventDispatcherCode
public function __construct(ContainerInterface $container) {
$this->container = $container;
}