Total Complexity | 6 |
Total Lines | 69 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
13 | class AbstractCurrency implements CurrencyInterface |
||
14 | { |
||
15 | /** @var string */ |
||
16 | protected string $code; |
||
17 | |||
18 | /** @var string */ |
||
19 | protected string $symbol; |
||
20 | |||
21 | /** @var string */ |
||
22 | protected string $decimalSeparator; |
||
23 | |||
24 | /** @var string */ |
||
25 | protected string $thousandsSeparator; |
||
26 | |||
27 | /** @var string */ |
||
28 | protected string $symbolPosition; |
||
29 | |||
30 | public function __construct( |
||
42 | } |
||
43 | |||
44 | /** |
||
45 | * @return string |
||
46 | */ |
||
47 | public function getSymbol(): string |
||
48 | { |
||
49 | return $this->symbol; |
||
50 | } |
||
51 | |||
52 | /** |
||
53 | * @return string |
||
54 | */ |
||
55 | public function getDecimalSeparator(): string |
||
58 | } |
||
59 | |||
60 | /** |
||
61 | * @return string |
||
62 | */ |
||
63 | public function getThousandsSeparator(): string |
||
64 | { |
||
65 | return $this->thousandsSeparator; |
||
66 | } |
||
67 | |||
68 | /** |
||
69 | * @return string |
||
70 | */ |
||
71 | public function getSymbolPosition(): string |
||
72 | { |
||
73 | return $this->symbolPosition; |
||
74 | } |
||
75 | |||
76 | /** |
||
77 | * @return string |
||
78 | */ |
||
79 | public function getCode(): string |
||
82 | } |
||
83 | } |
||
84 |