\Yansongda\Pay\EventsApiRequesting

Event is the base class for classes containing event data.

This class contains no event data. It is used by events that do not pass state information to an event handler when an event is raised.

You can call the method stopPropagation() to abort the execution of further listeners in your event listener.

Summary

Methods
Properties
Constants
__construct()
isPropagationStopped()
stopPropagation()
$driver
$gateway
$attributes
$endpoint
$payload
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
$propagationStopped
N/A

Properties

$driver

$driver : string

Driver.

Type

string

$gateway

$gateway : string

Method.

Type

string

$attributes

$attributes : mixed

Extra attributes.

Type

mixed

$endpoint

$endpoint : string

Endpoint.

Type

string

$payload

$payload : array

Payload.

Type

array

$propagationStopped

$propagationStopped

Methods

__construct()

__construct(string  $driver, string  $gateway, string  $endpoint, array  $payload) : mixed

Bootstrap.

Parameters

string $driver
string $gateway
string $endpoint
array $payload

Returns

mixed —

isPropagationStopped()

isPropagationStopped() : bool

Is propagation stopped?

Returns

bool —

True if the Event is complete and no further listeners should be called. False to continue calling listeners.

stopPropagation()

stopPropagation() : void

Stops the propagation of the event to further event listeners.

If multiple event listeners are connected to the same event, no further event listener will be triggered once any trigger calls stopPropagation().