Property | Type | Description | |
---|---|---|---|
$cron | |||
$dayOfWeekMap | array | ||
$fieldMap | array | ||
$intervalMap | array | ||
$monthMap | array | ||
$position | integer | ||
$timeOfDayMap | array | ||
$tokenMap | array | Regular expressions used to tokenize a string | |
$tokens | array | Array of lexed tokens | |
$weekdayWeekendMap | array |
Method | Description | |
---|---|---|
expects ( $token, $types ) | Enforce expectations of a certain token | |
parse ( $value ) : string | Parse a string into a CRON expression | |
reset ( ) | Reset parser token position and CRON expression |
Method | Description | |
---|---|---|
compileRegex ( ) : string | Concatenate regex expressions into a single regex for performance | |
current ( ) : array | Retrieve current token based on position | |
evaluate ( ) | Evaluate tokens and build CRON expression | |
is ( $token, $types ) : boolean | Check if a token is of a type | |
lex ( $string ) : array | Lex a string into tokens | |
next ( integer $skip = 1 ) : boolean | Look ahead in the token array | |
nilTime ( $field ) | For simple expressions, zero out the time so the cron matches user expectation and does not execute constantly. | |
previous ( integer $skip = 1 ) : boolean | Look behind in the token array | |
seek ( $index ) : boolean | Seek a specific token |
protected compileRegex ( ) : string | ||
return | string |
public expects ( $token, $types ) | ||
$token | ||
$types |
protected nilTime ( $field ) | ||
$field |
protected array $tokenMap | ||
return | array |