| Total Complexity | 7 |
| Total Lines | 37 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 1 | Features | 0 |
| 1 | <?php |
||
| 10 | class Localization_Currency_GBP extends BaseCurrency |
||
| 11 | { |
||
| 12 | public const ISO_CODE = 'GBP'; |
||
| 13 | |||
| 14 | public function getSingular() : string |
||
| 15 | { |
||
| 16 | return t('Pound'); |
||
| 17 | } |
||
| 18 | |||
| 19 | public function getSymbol() : string |
||
| 20 | { |
||
| 21 | return '£'; |
||
| 22 | } |
||
| 23 | |||
| 24 | public function getPlural() : string |
||
| 25 | { |
||
| 26 | return t('Pounds'); |
||
| 27 | } |
||
| 28 | |||
| 29 | public function getISO() : string |
||
| 30 | { |
||
| 31 | return self::ISO_CODE; |
||
| 32 | } |
||
| 33 | |||
| 34 | public function isSymbolOnFront() : bool |
||
| 35 | { |
||
| 36 | return true; |
||
| 37 | } |
||
| 38 | |||
| 39 | public function isNamePreferred() : bool |
||
| 42 | } |
||
| 43 | |||
| 44 | public function getStructuralTemplate(?CountryInterface $country=null): string |
||
| 47 | } |
||
| 48 | } |
||
| 49 |