Documentation

Task
in package

Table of Contents

$taskHandler  : TaskHandler|null
getHandler()  : TaskHandler|null
getName()  : string
onCancel()  : void
Actions to execute if the Task is cancelled
onRun()  : void
Actions to execute when run
setHandler()  : void

Properties

Methods

getName()

public getName() : string
Return values
string

onCancel()

Actions to execute if the Task is cancelled

public onCancel() : void
Return values
void

onRun()

Actions to execute when run

public abstract onRun() : void
Tags
throws
CancelTaskException
Return values
void

setHandler()

public final setHandler(TaskHandler|null $taskHandler) : void
Parameters
$taskHandler : TaskHandler|null
Return values
void

Search results