AbstractWorkThread
extends Threaded
Table of Contents
-
__construct()
: mixed
-
run()
: void
-
getOption()
: mixed
-
getOptions()
: array<string|int, mixed>
-
log()
: void
-
thenDo()
: void
-
work()
: void
__construct()
public
__construct(array<string|int, mixed> $options) : mixed
Parameters
-
$options
: array<string|int, mixed>
-
Return values
mixed
—
run()
public
run() : void
Return values
void
—
getOption()
protected
getOption(string $key) : mixed
Parameters
-
$key
: string
-
Return values
mixed
—
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
-
Return values
void
—
thenDo()
protected
thenDo(string $className[, array<string|int, mixed> $options = [] ]) : void
Parameters
-
$className
: string
-
-
$options
: array<string|int, mixed>
= []
-
Return values
void
—
work()
protected
abstract work() : void
Return values
void
—