Runnable implements IRunnable
Yes. This is almost totally pointless.
Table of Contents
$task | Task | Closure |
---|---|---|
__construct() | mixed | |
run() | Execute the supplied closure | void |
Properties
$task
Task
private
Closure
$task
Methods
__construct()
public
__construct(
$task :
Closure|null
)
: mixed
Parameters
- $task : Closure|null
Return values
mixedrun()
Execute the supplied closure
public
run(
)
: void