WordPress at Your Fingertips
function is not described

Automattic\WooCommerce\Blocks\Domain\Services

ExtendRestApi::get_formatter() public WC 1.0

Returns a formatter instance.

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

No Hooks.

Return

FormatterInterface.

Usage

$ExtendRestApi = new ExtendRestApi();
$ExtendRestApi->get_formatter( $name );
$name(string) (required)
Formatter name.

Code of ExtendRestApi::get_formatter() WC 5.6.0

public function get_formatter( $name ) {
	return $this->formatters->$name;
}