• File: DataStoreInterface.php
  • Full Path: /home/lef/public_html/wp-content/plugins/woocommerce/packages/woocommerce-admin/src/API/Reports/DataStoreInterface.php
  • File size: 401 bytes
  • MIME-type: text/x-php
  • Charset: utf-8
<?php
/**
 * Reports Data Store Interface
 */

namespace Automattic\WooCommerce\Admin\API\Reports;

if ( ! defined( 'ABSPATH' ) ) {
	exit;
}

/**
 * WooCommerce Reports data store interface.
 *
 * @since 3.5.0
 */
interface DataStoreInterface {

	/**
	 * Get the data based on args.
	 *
	 * @param array $args Query parameters.
	 * @return stdClass|WP_Error
	 */
	public function get_data( $args );
}