Automattic\WooCommerce\Admin\DateTimeProvider

DateTimeProviderInterface{}WC 1.0

DateTime Provider Interface.

Хуков нет.

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

$DateTimeProviderInterface = new DateTimeProviderInterface();
// use class methods

Методы

  1. public get_now()

Код DateTimeProviderInterface{} WC 7.1.0

interface DateTimeProviderInterface {
	/**
	 * Returns the current DateTime.
	 *
	 * @return DateTime
	 */
	public function get_now();
}