File "DateTimeProviderInterface.php"
Full Path: /home/jlklyejr/public_html/wp-content/test/wp-content/plugins/woocommerce/src/Admin/DateTimeProvider/DateTimeProviderInterface.php
File size: 386 bytes
MIME-type: text/x-php
Charset: utf-8
<?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();
}