ScheduleWatcher
class ScheduleWatcher extends Watcher
Constants
| protected LAST_RECORDED_TASK_CONTEXT_KEY |
|
Properties
| protected Application | $app | The application instance. |
Methods
void
void
recordCommand(ScheduledTaskFailed|ScheduledTaskFinished $event)
Record a scheduled command that was executed.
void
recordFinishedCommand(ScheduledTaskFinished $event)
Record a successfully finished scheduled command.
void
int
Details
in
Watcher at line 18
__construct(array $options = [])
Create a new watcher instance.
at line 29
void
register(Application $app)
Register the watcher.
in
Watcher at line 41
protected array
hideParameters(array $data, array $hidden)
Hide the given parameters.
at line 43
void
recordCommand(ScheduledTaskFailed|ScheduledTaskFinished $event)
Record a scheduled command that was executed.
at line 61
protected void
recordFinishedCommand(ScheduledTaskFinished $event)
Record a successfully finished scheduled command.
at line 92
protected void
recordFailedCommand(ScheduledTaskFailed $event)
Record a failed scheduled command.
at line 121
protected IncomingEntry
makeEntry(Event $task, array $outcome)
Create an entry for the given scheduled command.
at line 138
protected int
taskIdentity(Event $task)
Get the identity for the given scheduled task.