| Total Complexity | 5 |
| Total Lines | 33 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 20 | class OutputSettings |
||
| 21 | { |
||
| 22 | private string $uuid; |
||
| 23 | private string $locale; |
||
| 24 | private string $currency; |
||
| 25 | private string $symbol; |
||
| 26 | |||
| 27 | public function __construct(ResourceUuid $uuid, Locale $locale, Currency $currency) |
||
| 28 | { |
||
| 29 | $this->uuid = $uuid->toString(); |
||
| 30 | $this->locale = $locale->toString(); |
||
| 31 | $this->currency = $currency->currency(); |
||
| 32 | $this->symbol = $currency->symbol(); |
||
| 33 | } |
||
| 34 | |||
| 35 | public function uuid(): string |
||
| 36 | { |
||
| 37 | return $this->uuid; |
||
| 38 | } |
||
| 39 | |||
| 40 | public function locale(): string |
||
| 43 | } |
||
| 44 | |||
| 45 | public function currency(): string |
||
| 46 | { |
||
| 47 | return $this->currency; |
||
| 48 | } |
||
| 49 | |||
| 50 | public function symbol(): string |
||
| 53 | } |
||
| 54 | } |
||
| 55 |