DispatchPreEvent
extends AbstractApplicationEvent
in package
Application dispatch-pre event class
Tags
Table of Contents
Properties
- $application : Application
- Application object
- $propagationStopped : bool
- Propagation stopped flag
Methods
- __construct() : mixed
- Constructor
- application() : Application
- Get the application object
- getName() : string
- Get the event name
- isPropagationStopped() : bool
- Determine if propagation of this event has been stopped
- stopPropagation() : void
- Stop propagation of this event to any remaining listeners
- toParams() : array<string|int, mixed>
- Get the params array
Properties
$application
Application object
protected
Application
$application
$propagationStopped
Propagation stopped flag
protected
bool
$propagationStopped
= false
Methods
__construct()
Constructor
public
__construct(Application $application) : mixed
Instantiate the application event object.
Parameters
- $application : Application
application()
Get the application object
public
application() : Application
Return values
ApplicationgetName()
Get the event name
public
getName() : string
Return values
stringisPropagationStopped()
Determine if propagation of this event has been stopped
public
isPropagationStopped() : bool
Return values
boolstopPropagation()
Stop propagation of this event to any remaining listeners
public
stopPropagation() : void
toParams()
Get the params array
public
toParams() : array<string|int, mixed>