Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
CurrencyInterface.php
Go to the documentation of this file.
1 <?php
6 namespace Magento\Framework;
7 
13 {
22  public function toCurrency($value = null, array $options = []);
23 
32  public function setFormat(array $options = []);
33 
42  public function getSymbol($currency = null, $locale = null);
43 
51  public function getShortName($currency = null, $locale = null);
52 
60  public function getName($currency = null, $locale = null);
61 
69  public function getRegionList($currency = null);
70 
79  public function getCurrencyList($region = null);
80 
86  public function toString();
87 
93  public static function getCache();
94 
101  public static function setCache(\Zend_Cache_Core $cache);
102 
108  public static function hasCache();
109 
115  public static function removeCache();
116 
123  public static function clearCache($tag = null);
124 
134  public function setLocale($locale = null);
135 
141  public function getLocale();
142 
148  public function getValue();
149 
157  public function setValue($value, $currency = null);
158 
166  public function add($value, $currency = null);
167 
175  public function sub($value, $currency = null);
176 
184  public function div($value, $currency = null);
185 
193  public function mul($value, $currency = null);
194 
202  public function mod($value, $currency = null);
203 
211  public function compare($value, $currency = null);
212 
220  public function equals($value, $currency = null);
221 
229  public function isMore($value, $currency = null);
230 
238  public function isLess($value, $currency = null);
239 }
isMore($value, $currency=null)
getName($currency=null, $locale=null)
div($value, $currency=null)
sub($value, $currency=null)
getShortName($currency=null, $locale=null)
getSymbol($currency=null, $locale=null)
add($value, $currency=null)
$value
Definition: gender.phtml:16
setValue($value, $currency=null)
equals($value, $currency=null)
mul($value, $currency=null)
toCurrency($value=null, array $options=[])
compare($value, $currency=null)
mod($value, $currency=null)
static setCache(\Zend_Cache_Core $cache)
isLess($value, $currency=null)