| Total Complexity | 5 |
| Total Lines | 31 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 20 | class Settings |
||
| 21 | { |
||
| 22 | private ResourceUuid $uuid; |
||
| 23 | private Locale $locale; |
||
| 24 | private Currency $currency; |
||
| 25 | |||
| 26 | private function __construct(ResourceUuid $uuid, Locale $locale, Currency $currency) |
||
| 27 | { |
||
| 28 | $this->uuid = $uuid; |
||
| 29 | $this->locale = $locale; |
||
| 30 | $this->currency = $currency; |
||
| 31 | } |
||
| 32 | |||
| 33 | public static function create(ResourceUuid $uuid, Locale $locale, Currency $currency): self |
||
| 36 | } |
||
| 37 | |||
| 38 | public function uuid(): ResourceUuid |
||
| 41 | } |
||
| 42 | |||
| 43 | public function locale(): Locale |
||
| 46 | } |
||
| 47 | |||
| 48 | public function currency(): Currency |
||
| 53 |