ConsoleEvent
extends Event
in package
Class ConsoleEvent
Tags
Table of Contents
Constants
- EVENT_RUN = 'OC\Console\Application::run'
Properties
- $arguments : array<string|int, string>
- $event : string
- $propagationStopped : bool
Methods
- __construct() : mixed
- DispatcherEvent constructor.
- getArguments() : array<string|int, string>
- getEvent() : string
- isPropagationStopped() : bool
- {@inheritDoc}
- stopPropagation() : void
- Stops the propagation of the event to further event listeners
Constants
EVENT_RUN
public
mixed
EVENT_RUN
= 'OC\Console\Application::run'
Tags
Properties
$arguments
protected
array<string|int, string>
$arguments
$event
protected
string
$event
$propagationStopped
private
bool
$propagationStopped
= false
Tags
Methods
__construct()
DispatcherEvent constructor.
public
__construct(string $event, array<string|int, string> $arguments) : mixed
Parameters
- $event : string
- $arguments : array<string|int, string>
Tags
getArguments()
public
getArguments() : array<string|int, string>
Tags
Return values
array<string|int, string>getEvent()
public
getEvent() : string
Tags
Return values
stringisPropagationStopped()
{@inheritDoc}
public
isPropagationStopped() : bool
Tags
Return values
boolstopPropagation()
Stops the propagation of the event to further event listeners
public
stopPropagation() : void