Skip to main content

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

NameTypeDescription
$callbackcallableThe task callback.
$instance\TaskThe task object.

Since

  • 1.12.0

Source

Defined in Scheduler/Models/Task.php at line 166