WordPress at a glance
function is not described

Automattic\WooCommerce\Blocks\StoreApi\Routes

Cart::get_path() public WC 1.0

Get the path of this REST route.

{} It's a method of the class: Cart{}

No Hooks.

Return

String.

Usage

$Cart = new Cart();
$Cart->get_path();

Code of Cart::get_path() WC 5.0.0

<?php
public function get_path() {
	return '/cart';
}