Automattic\WooCommerce\StoreApi\Formatters

DefaultFormatter::format()publicWC 1.0

Format a given value and return the result.

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.
Default: []

DefaultFormatter::format() code WC 8.9.0

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