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