CurrencyFormatter.php
2 years ago
DefaultFormatter.php
2 years ago
FormatterInterface.php
2 years ago
HtmlFormatter.php
2 years ago
MoneyFormatter.php
2 years ago
DefaultFormatter.php
19 lines
| 1 | <?php |
| 2 | namespace Automattic\WooCommerce\StoreApi\Formatters; |
| 3 | |
| 4 | /** |
| 5 | * Default Formatter. |
| 6 | */ |
| 7 | class DefaultFormatter implements FormatterInterface { |
| 8 | /** |
| 9 | * Format a given value and return the result. |
| 10 | * |
| 11 | * @param mixed $value Value to format. |
| 12 | * @param array $options Options that influence the formatting. |
| 13 | * @return mixed |
| 14 | */ |
| 15 | public function format( $value, array $options = [] ) { |
| 16 | return $value; |
| 17 | } |
| 18 | } |
| 19 |