Method | Description | |
---|---|---|
__construct ( string $code = null ) | Constructor | |
__toString ( ) : string | Returns string representation of the currency instance in case of casting a currency instance to string. | |
getCode ( ) : string | ||
setCode ( string $code ) | Sets currency code. |
public __construct ( string $code = null ) | ||
$code | string | Three letter currency code. |
public __toString ( ) : string | ||
return | string |