public function ImmutableEventDispatcher::__construct in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/symfony/event-dispatcher/ImmutableEventDispatcher.php \Symfony\Component\EventDispatcher\ImmutableEventDispatcher::__construct()
Creates an unmodifiable proxy for an event dispatcher.
Parameters
EventDispatcherInterface $dispatcher The proxied event dispatcher.:
File
- vendor/
symfony/ event-dispatcher/ ImmutableEventDispatcher.php, line 33
Class
- ImmutableEventDispatcher
- A read-only proxy for an event dispatcher.
Namespace
Symfony\Component\EventDispatcherCode
public function __construct(EventDispatcherInterface $dispatcher) {
$this->dispatcher = $dispatcher;
}