PHP 클래스 Omnipay\Common\Currency
This class abstracts certain functionality around currency objects,
currency codes and currency numbers relating to global currencies used
in the Omnipay system.
파일 보기
프로젝트 열기: omnipay/common
1 사용 예제들
공개 메소드들
비공개 메소드들
메소드 |
설명 |
|
__construct ( $code, $numeric, $decimals ) |
Create a new Currency object |
|
메소드 상세
Get an array of all supported currencies
public static find ( string $code ) : mixed |
$code |
string |
The three letter currency code |
리턴 |
mixed |
A Currency object, or null if no currency was found |
Get the three letter code for the currency
Get the number of decimal places for this currency
Get the numeric code for this currency