class Validator (View source)

Methods

static array
cronExpression(string $expression)

Validate a cron expression and, if valid, return next run timestamp plus an array of expression parts

static 
laggerTimeout($timeout)

No description

static 
maxChildRuntime($runtime)

No description

static 
forkLimit($limit)

No description

static 
niceness($niceness)

No description

static 
multithread($multithread)

No description

Details

static array cronExpression(string $expression)

Validate a cron expression and, if valid, return next run timestamp plus an array of expression parts

Parameters

string $expression

Return Value

array Next run timestamp at first position, expression parts at second

Exceptions

Exception

static laggerTimeout($timeout)

Parameters

$timeout

static maxChildRuntime($runtime)

Parameters

$runtime

static forkLimit($limit)

Parameters

$limit

static niceness($niceness)

Parameters

$niceness

static multithread($multithread)

Parameters

$multithread