WordPress at a glance
function is not described

Automattic\WooCommerce\Blocks\StoreApi\Formatters

DefaultFormatter::format() public WC 1.0

Format a given value and return the result.

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

No Hooks.

Return

Mixed.

Usage

$DefaultFormatter = new DefaultFormatter();
$DefaultFormatter->format( $value, $options );
$value(mixed) (required)
Value to format.
$options(array)
Options that influence the formatting.

Code of DefaultFormatter::format() WC 5.0.0

<?php
public function format( $value, array $options = [] ) {
	return $value;
}