File "ImportInterface.php"

Full Path: /home/vantageo/public_html/cache/cache/.wp-cli/wp-content/plugins/woocommerce/packages/woocommerce-admin/src/Schedulers/ImportInterface.php
File size: 673 bytes
MIME-type: text/x-php
Charset: utf-8

<?php
/**
 * Import related abstract functions.
 */

namespace Automattic\WooCommerce\Admin\Schedulers;

interface ImportInterface {
	/**
	 * Get items based on query and return IDs along with total available.
	 *
	 * @param int      $limit Number of records to retrieve.
	 * @param int      $page  Page number.
	 * @param int|bool $days Number of days prior to current date to limit search results.
	 * @param bool     $skip_existing Skip already imported items.
	 */
	public static function get_items( $limit, $page, $days, $skip_existing );

	/**
	 * Get total number of items already imported.
	 *
	 * @return null
	 */
	public static function get_total_imported();

}