Property | Type | Description | |
---|---|---|---|
$cronRegistry | array | the actual cron registry |
Method | Description | |
---|---|---|
destroy ( ) : void | clear the singleton | |
getCronRegistry ( ) | ||
getInstance ( ) | ||
register ( string $code, string $frequency, callable $callback, array $args = [] ) : self | register a cron job | |
setCronRegistry ( array $cronRegistry ) |
Method | Description | |
---|---|---|
__construct ( ) |
public static setCronRegistry ( array $cronRegistry ) | ||
$cronRegistry | array |
protected array $cronRegistry | ||
return | array |