메소드 |
설명 |
|
after ( Closure $callback ) |
Register a callback to be called after the operation. |
|
afterCallbacks ( ) : array |
Return all registered after callbacks |
|
before ( Closure $callback ) |
Register a callback to be called before the operation. |
|
beforeCallbacks ( ) : array |
Return all registered before callbacks |
|
dismissEvent ( integer $key ) |
Dismiss an event after it is finished |
|
dueEvents ( ) : array |
Get all of the events on the schedule that are due. |
|
errorCallbacks ( ) : array |
Return all registered error callbacks |
|
events ( array $events = null ) : array |
Get or set the events of the schedule object |
|
onError ( Closure $callback ) |
Register a callback to call in case of an error |
|
pingBefore ( string $url ) |
Register a callback to ping a given URL before the job runs. |
|
run ( string $command, array $parameters = [] ) : Event |
Add a new event to the schedule object. |
|
then ( Closure $callback ) |
Register a callback to be called after the operation. |
|
thenPing ( string $url ) |
Register a callback to ping a given URL after the job runs. |
|