EventDispatcher
in package
implements
EventDispatcherInterface
Read onlyYes
FinalYes
Table of Contents
Interfaces
- EventDispatcherInterface
Properties
Methods
- __construct() : mixed
- EventDispatcher constructor.
- dispatch() : object
- Dispatch an event to any subscribed listeners.
- getListenerProvider() : ListenerProviderInterface|null
Properties
$configuration
private
SdkConfiguration
$configuration
Methods
__construct()
EventDispatcher constructor.
public
__construct(SdkConfiguration $configuration) : mixed
Parameters
- $configuration : SdkConfiguration
-
Required. Base configuration options for the SDK. See the SdkConfiguration class constructor for options.
dispatch()
Dispatch an event to any subscribed listeners.
public
dispatch(object $event) : object
Parameters
- $event : object
-
the event to be dispatched to listeners
Tags
Return values
objectgetListenerProvider()
public
getListenerProvider() : ListenerProviderInterface|null