ScheduleWatcher
class ScheduleWatcher extends Watcher
Constants
| protected LAST_RECORDED_TASK_CONTEXT_KEY |
|
Properties
| protected Application | $app | The application instance. |
Methods
void
string
hideQueryParameters(string $uri)
Hide query credentials without changing unrelated URL bytes.
from
Watcher
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 30
void
register(Application $app)
Register the watcher.
in
Watcher at line 41
protected array
hideParameters(array $data, array $hidden)
Hide the given parameters.
in
Watcher at line 55
protected string
hideQueryParameters(string $uri)
Hide query credentials without changing unrelated URL bytes.
at line 44
void
recordCommand(ScheduledTaskFailed|ScheduledTaskFinished $event)
Record a scheduled command that was executed.
at line 62
protected void
recordFinishedCommand(ScheduledTaskFinished $event)
Record a successfully finished scheduled command.
at line 93
protected void
recordFailedCommand(ScheduledTaskFailed $event)
Record a failed scheduled command.
at line 122
protected IncomingEntry
makeEntry(Event $task, array $outcome)
Create an entry for the given scheduled command.
at line 139
protected int
taskIdentity(Event $task)
Get the identity for the given scheduled task.