Méthode | Description | |
---|---|---|
__callStatic ( $method, $arguments ) : |
||
__construct ( integer $amount, string $currency, integer $precision = self::DEFAULT_PRECISION ) | ||
add ( |
||
amount ( ) : integer | ||
currency ( ) : string | ||
floatValue ( ) : float | ||
fromInt ( integer $value, string $currency ) : |
||
hasCurrency ( string $currency ) : boolean | ||
hasSameCurrency ( |
||
multiply ( integer $multiplier ) : |
||
precision ( ) : integer |
public static __callStatic ( $method, $arguments ) : |
||
$method | ||
$arguments | ||
Résultat |
public hasCurrency ( string $currency ) : boolean | ||
$currency | string | |
Résultat | boolean |
public hasSameCurrency ( |
||
$price | ||
Résultat | boolean |