Table of Contents
-
$workers
: mixed
-
addWorker()
: void
-
removeAllWorkers()
: void
-
run()
: bool
-
send()
: bool
-
getWorkerClass()
: string
-
runEvent()
: bool
$workers
private
static mixed
$workers
= []
addWorker()
public
static addWorker(string $worker[, string $event = '*' ], int $position) : void
Parameters
-
$worker
: string
-
-
$event
: string
= '*'
-
-
$position
: int
-
Return values
void
—
removeAllWorkers()
public
static removeAllWorkers() : void
Return values
void
—
run()
public
static run() : bool
Return values
bool
—
send()
public
static send(string $event, string $value[, array<string|int, mixed> $params = [] ]) : bool
Parameters
-
$event
: string
-
-
$value
: string
-
-
$params
: array<string|int, mixed>
= []
-
Return values
bool
—
getWorkerClass()
private
static getWorkerClass(string $worker) : string
Parameters
-
$worker
: string
-
Return values
string
—
runEvent()
private
static runEvent(WorkEvent &$event) : bool
Parameters
-
$event
: WorkEvent
-
Return values
bool
—