PHP 8.2.31
Preview: DateTimeProviderInterface.php Size: 386 B
/home/nshryvcy/radiantskinclinics.org/wp-content/plugins/woocommerce/src/Admin/DateTimeProvider/DateTimeProviderInterface.php

<?php
/**
 * Interface for a provider for getting the current DateTime,
 * designed to be mockable for unit tests.
 */

namespace Automattic\WooCommerce\Admin\DateTimeProvider;

defined( 'ABSPATH' ) || exit;

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

Directory Contents

Dirs: 0 × Files: 2

Name Size Perms Modified Actions
499 B lrw-r--r-- 2022-04-20 06:50:54
Edit Download
386 B lrw-r--r-- 2022-04-20 06:50:54
Edit Download

If ZipArchive is unavailable, a .tar will be created (no compression).