| 1 | <?php |
||
| 14 | class Currency extends Model |
||
| 15 | { |
||
| 16 | /** @var string */ |
||
| 17 | public $code; |
||
| 18 | |||
| 19 | /** |
||
| 20 | * Returns the symbol used for a currency. |
||
| 21 | * |
||
| 22 | * @param string|null $locale optional |
||
| 23 | * |
||
| 24 | * @return string|null the currency symbol or NULL if not found |
||
| 25 | * @see https://stackoverflow.com/questions/13897516/get-currency-symbol-in-php |
||
| 26 | */ |
||
| 27 | public function getSymbol($locale = null): string |
||
| 37 | } |
||
| 38 |