Automattic\WooCommerce\StoreApi\Formatters
FormatterInterface{}
FormatterInterface.
No Hooks.
Usage
$FormatterInterface = new FormatterInterface(); // use class methods
Methods
FormatterInterface{} FormatterInterface{} code WC 10.7.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 = [] );
}