Filter: gk/foundation/scheduler/task/ . $this->name . /callback
Filters the task callback.
The filtered value must be callable (function, closure, or class method). Invalid values are silently ignored and the original callback is used.
Parameters
| Name | Type | Description |
|---|---|---|
| $callback | callable | The task callback. |
| $instance | \Task | The task object. |
Since
- 1.12.0
Source
Defined in Scheduler/Models/Task.php at line 166