WordPress at Your Fingertips
class is not described

Automattic\WooCommerce\Blocks\StoreApi\Formatters

DefaultFormatter{} WC 1.0

Default Formatter.

No Hooks.

Return

null. Nothing.

Usage

$DefaultFormatter = new DefaultFormatter();
// use class methods

Methods

  1. format( $value, array $options = [] )

Code of DefaultFormatter{} WC 5.5.2

<?php
class DefaultFormatter implements FormatterInterface {
	/**
	 * Format a given value and return the result.
	 *
	 * @param mixed $value Value to format.
	 * @param array $options Options that influence the formatting.
	 * @return mixed
	 */
	public function format( $value, array $options = [] ) {
		return $value;
	}
}