WordPress at Your Fingertips
class is not described

Automattic\WooCommerce\Blocks\StoreApi\Formatters

FormatterInterface{} WC 1.0

FormatterInterface.

No Hooks.

Return

null. Nothing.

Usage

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

Methods

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

Code of FormatterInterface{} WC 5.6.0

interface 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 = [] );
}