CronExpression_DayOfWeekField::validate()publicWC 1.0

{@inheritdoc}

Method of the class: CronExpression_DayOfWeekField{}

No Hooks.

Return

null. Nothing.

Usage

$CronExpression_DayOfWeekField = new CronExpression_DayOfWeekField();
$CronExpression_DayOfWeekField->validate( $value );
$value (required)
-

CronExpression_DayOfWeekField::validate() code WC 7.3.0

public function validate($value)
{
    return (bool) preg_match('/[\*,\/\-0-9A-Z]+/', $value);
}