WordPress at Your Fingertips
class is not described

Automattic\WooCommerce\Blocks\StoreApi\Routes

RouteInterface{} WC 1.0

RouteInterface.

No Hooks.

Return

null. Nothing.

Usage

$RouteInterface = new RouteInterface();
// use class methods

Methods

  1. get_args()
  2. get_namespace()
  3. get_path()

Code of RouteInterface{} WC 5.5.2

<?php
interface RouteInterface {
	/**
	 * Get the namespace for this route.
	 *
	 * @return string
	 */
	public function get_namespace();

	/**
	 * 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();
}