Magento Extensions Rating 2024
EXTENSIONS BY CATEGORY
B2B (Business-To-Business)
Blog
Customer
ERP (Enterprise Resource Planning)
Mega Menu
One Step Checkout
Order
POS (Point Of Sale)
Search
Shopping Cart
Sitemap
SEO
Social
Stock & Inventory Management
EXTENSIONS BY DEVELOPER
aheadWorks
Amasty
Boost My Shop
BSS Commerce
Magestore
MageWorx
Mirasvit
Templates Master
Wyomind
XTENTO
Magento 2 Documentation
Magento 2 Documentation
2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
vendor
magento
framework
Currency.php
Go to the documentation of this file.
1
<?php
6
namespace
Magento\Framework
;
7
8
use
Magento\Framework\App\CacheInterface
;
9
10
class
Currency
extends
\Zend_Currency
implements
CurrencyInterface
11
{
19
public
function
__construct
(
20
CacheInterface
$appCache,
21
$options
=
null
,
22
$locale =
null
23
) {
24
// set Zend cache to low level frontend app cache
25
$lowLevelFrontendCache = $appCache->
getFrontend
()->getLowLevelFrontend();
26
\Zend_Currency::setCache
($lowLevelFrontendCache);
27
parent::__construct(
$options
, $locale);
28
}
29
}
Magento\Framework
Magento\Framework\App\CacheInterface\getFrontend
getFrontend()
Magento\Framework\CurrencyInterface
Definition:
CurrencyInterface.php:12
Magento\Framework\Currency\__construct
__construct(CacheInterface $appCache, $options=null, $locale=null)
Definition:
Currency.php:19
Zend_Currency
Definition:
Currency.php:37
Magento\Framework\App\CacheInterface
Definition:
CacheInterface.php:15
Zend_Currency\setCache
static setCache(Zend_Cache_Core $cache)
Definition:
Currency.php:507
Magento\Framework\Currency
Definition:
Currency.php:10
$options
$options
Definition:
multiple_mixed_products.php:29