• File: RouteInterface.php
  • Full Path: /home/slvgwrnz/public_html/wp-content/plugins/woocommerce/src/StoreApi/Routes/RouteInterface.php
  • Date Modified: 12/26/2023 4:45 PM
  • File size: 336 bytes
  • MIME-type: text/x-php
  • Charset: utf-8
<?php
namespace Automattic\WooCommerce\StoreApi\Routes;

/**
 * RouteInterface.
 */
interface RouteInterface {
	/**
	 * Get the path of this REST route.
	 *
	 * @return string
	 */
	public function get_path();

	/**
	 * Get arguments for this REST route.
	 *
	 * @return array An array of endpoints.
	 */
	public function get_args();
}