| Total Complexity | 4 |
| Total Lines | 26 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 21 | final class EditSettings implements CommandProtocol |
||
| 22 | { |
||
| 23 | private string $uuid; |
||
| 24 | private Locale $locale; |
||
| 25 | private Currency $currency; |
||
| 26 | |||
| 27 | public function __construct(SettingsUuid $uuid, Locale $locale, Currency $currency) |
||
| 28 | { |
||
| 29 | $this->uuid = $uuid->toString(); |
||
| 30 | $this->locale = $locale; |
||
| 31 | $this->currency = $currency; |
||
| 32 | } |
||
| 33 | |||
| 34 | public function uuid(): string |
||
| 35 | { |
||
| 36 | return $this->uuid; |
||
| 37 | } |
||
| 38 | |||
| 39 | public function locale(): Locale |
||
| 40 | { |
||
| 41 | return $this->locale; |
||
| 42 | } |
||
| 43 | |||
| 44 | public function currency(): Currency |
||
| 47 | } |
||
| 48 | } |
||
| 49 |