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
$taskHandler
private
TaskHandler|null
$taskHandler
= null
Methods
getHandler()
public
final getHandler() : TaskHandler|null
Return values
TaskHandler|null —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
Return values
void —setHandler()
public
final setHandler(TaskHandler|null $taskHandler) : void
Parameters
- $taskHandler : TaskHandler|null