/var/www/html_us/wp-content/plugins/woocommerce/src/StoreApi/Formatters/FormatterInterface.php


1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
<?php
namespace Automattic\WooCommerce\StoreApi\Formatters;

/**
 * FormatterInterface.
 */
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 = [] );
}