Property | Type | Description | |
---|---|---|---|
$invoker | Instance of the invoker class | ||
$logger | The Logger | ||
$mailer | The Mailer | ||
$schedules | array | Schedule objects |
Method | Description | |
---|---|---|
__construct ( ) | Instantiate the event runner | |
handle ( array $schedules = [] ) | Handle an array of Schedule objects |
Method | Description | |
---|---|---|
ManageStartedEvents ( ) : void | Manage the running processes | |
display ( string $output ) | Display content | |
formatEventError ( |
Format the event error message | |
formatEventOutput ( |
Format the event output | |
handleError ( |
Handle errors | |
handleOutput ( |
Handle output | |
invoke ( array $callbacks = [], array $parameters = [] ) : string | Invoke an array of callables | |
start ( |
Run an event process |
protected ManageStartedEvents ( ) : void | ||
return | void |
protected formatEventError ( |
||
$event | ||
return | string |
protected formatEventOutput ( |
||
$event | ||
return | string |
protected Invoker,Crunz $invoker | ||
return |
protected Logger,Crunz\Logger $logger | ||
return |