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