Task
class Task
Methods
__construct(Closure $action, Closure|null $response = null, Closure|bool $requirement = true)
Construct a new pending task.
void
dispatch(bool $pretending = false)
Handle the task.
void
__invoke(bool $pretending = false)
Handle the task when invoked.