Automattic\WooCommerce\StoreApi\Schemas

ExtendSchema::get_formatter()publicWC 1.0

Returns a formatter instance.

Method of the class: ExtendSchema{}

No Hooks.

Return

FormatterInterface.

Usage

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

ExtendSchema::get_formatter() code WC 8.7.0

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