Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- protected $priceCurrency;
- public function __construct(
- ...
- MagentoFrameworkPricingPriceCurrencyInterface $priceCurrency
- ) {
- $this->priceCurrency = $priceCurrency;
- }
- protected function format($value)
- {
- return $this->priceCurrency->format($value);
- }
Add Comment
Please, Sign In to add comment