class ScheduledTaskSkipped (View source)

Methods

__construct(Event $task, ScheduledTaskSkipReason|null $reason = null)

Create a new event instance.

Details

__construct(Event $task, ScheduledTaskSkipReason|null $reason = null)

Create a new event instance.

Parameters

Event $task

The scheduled event being run.

ScheduledTaskSkipReason|null $reason

The reason why the task was skipped.