Interfaces, Classes, Traits and Enums
- taskQueueInterface
Table of Contents
-
$enableShutdown
: mixed
-
$queue
: mixed
-
__construct()
: mixed
-
add()
: mixed
-
disableShutdown()
: mixed
-
isEmpty()
: mixed
-
run()
: mixed
$enableShutdown
private
mixed
$enableShutdown
= true
$queue
private
mixed
$queue
= []
__construct()
public
__construct([mixed $withShutdown = true ]) : mixed
Parameters
-
$withShutdown
: mixed
= true
-
Return values
mixed
—
add()
public
add(callable $task) : mixed
Parameters
-
$task
: callable
-
Return values
mixed
—
disableShutdown()
public
disableShutdown() : mixed
Return values
mixed
—
isEmpty()
public
isEmpty() : mixed
Return values
mixed
—
run()
public
run() : mixed
Return values
mixed
—