ImmutableEventDispatcher

ImmutableEventDispatcher

class ImmutableEventDispatcher implements EventDispatcherInterface

A read-only proxy for an event dispatcher.

Methods

__construct(EventDispatcherInterface $dispatcher)

Creates an unmodifiable proxy for an event dispatcher.

Event dispatch(string $eventName, 登录查看完整内容