Skip to content

New feature update : formatUsing formatter classes

Compare
Choose a tag to compare
@toonvandenbos toonvandenbos released this 14 Aug 14:32
· 15 commits to 2.x since this release
c9bf471

New feature update :

  • Price::formatUsing() : Now accepts callable closures, custom formatter class names (string) and instances (as long as they extend \Whitecube\Price\Formatting\CustomFormatter). Examples in the docs and tests.