CronExpression_FieldInterface::isSatisfiedBy()publicWC 1.0

Check if the respective value of a DateTime field satisfies a CRON exp

Метод класса: CronExpression_FieldInterface{}

Хуков нет.

Возвращает

true|false. Returns TRUE if satisfied, FALSE otherwise

Использование

$CronExpression_FieldInterface = new CronExpression_FieldInterface();
$CronExpression_FieldInterface->isSatisfiedBy( $date, $value );
$date(DateTime) (обязательный)
DateTime object to check
$value(строка) (обязательный)
CRON expression to test against

Код CronExpression_FieldInterface::isSatisfiedBy() WC 8.7.0

public function isSatisfiedBy(DateTime $date, $value);