AfterTaskExecutionEvent

Read onlyYes
FinalYes

Listeners to this event receive information about a completed scheduler task execution, including its success state and any thrown exception.

Table of Contents

Methods

__construct()  : mixed
getException()  : Throwable|null
getTask()  : AbstractTask
isSuccess()  : bool

Methods

__construct()

public __construct(AbstractTask $task, bool $success[, Throwable|null $exception = null ]) : mixed
Parameters
$task : AbstractTask
$success : bool
$exception : Throwable|null = null

getException()

public getException() : Throwable|null
Return values
Throwable|null

isSuccess()

public isSuccess() : bool
Return values
bool
On this page

Search results