Auth0-PHP

EventDispatcher
in package
implements EventDispatcherInterface

Class EventDispatcher.

Interfaces, Classes, Traits and Enums

EventDispatcherInterface

Table of Contents

$configuration  : SdkConfiguration
__construct()  : mixed
EventDispatcher constructor.
dispatch()  : object
Dispatch an event to any subscribed listeners.
getListenerProvider()  : ListenerProviderInterface|null

Properties

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.

Return values
mixed

dispatch()

Dispatch an event to any subscribed listeners.

public dispatch(object $event) : object
Parameters
$event : object

the event to be dispatched to listeners

Tags
psalm-suppress

MixedFunctionCall

Return values
object

getListenerProvider()

public getListenerProvider() : ListenerProviderInterface|null
Return values
ListenerProviderInterface|null

Search results