Nextcloud PHP API (master)

ConsoleEvent extends Event
in package

Class ConsoleEvent

Tags
since
9.0.0

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
since
9.0.0
deprecated
22.0.0

Properties

$arguments

protected array<string|int, string> $arguments

$propagationStopped

private bool $propagationStopped = false
Tags
since
22.0.0

Methods

__construct()

DispatcherEvent constructor.

public __construct(string $event, array<string|int, string> $arguments) : mixed
Parameters
$event : string
$arguments : array<string|int, string>
Tags
since
9.0.0

getArguments()

public getArguments() : array<string|int, string>
Tags
since
9.0.0
Return values
array<string|int, string>

getEvent()

public getEvent() : string
Tags
since
9.0.0
Return values
string

isPropagationStopped()

{@inheritDoc}

public isPropagationStopped() : bool
Tags
since
22.0.0
see
StoppableEventInterface
Return values
bool

stopPropagation()

Stops the propagation of the event to further event listeners

public stopPropagation() : void
Tags
since
22.0.0

        
On this page

Search results