File "ActionScheduler_Schedule.php"

Full Path: /home/romayxjt/public_html/wp-content/plugins/woocommerce/packages/action-scheduler/classes/schedules/ActionScheduler_Schedule.php
File size: 456 bytes
MIME-type: text/x-php
Charset: utf-8

<?php

/**
 * Class ActionScheduler_Schedule
 */
interface ActionScheduler_Schedule {
	/**
	 * Get the date & time this schedule was created to run, or calculate when it should be run
	 * after a given date & time.
	 *
	 * @param null|DateTime $after Timestamp.
	 * @return DateTime|null
	 */
	public function next( ?DateTime $after = null );

	/**
	 * Identify the schedule as (not) recurring.
	 *
	 * @return bool
	 */
	public function is_recurring();
}