AbstractWorkThread
extends Threaded
in package
AbstractYes
Table of Contents
Methods
- __construct() : mixed
- run() : void
- getOption() : mixed
- getOptions() : array<string|int, mixed>
- log() : void
- thenDo() : void
- work() : void
Methods
__construct()
public
__construct(array<string|int, mixed> $options) : mixed
Parameters
- $options : array<string|int, mixed>
run()
public
run() : void
getOption()
protected
getOption(string $key) : mixed
Parameters
- $key : string
getOptions()
protected
getOptions() : array<string|int, mixed>
Return values
array<string|int, mixed>log()
protected
log(mixed $message[, bool $isImportant = false ]) : void
Parameters
- $message : mixed
- $isImportant : bool = false
thenDo()
protected
thenDo(string $className[, array<string|int, mixed> $options = [] ]) : void
Parameters
- $className : string
- $options : array<string|int, mixed> = []
work()
protected
abstract work() : void