| Total Complexity | 5 |
| Total Lines | 60 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 7 | class Mailcode_Commands_Command_ShowPhone_Number |
||
| 8 | { |
||
| 9 | /** |
||
| 10 | * @var string |
||
| 11 | */ |
||
| 12 | private $countryCode; |
||
| 13 | |||
| 14 | /** |
||
| 15 | * @var string |
||
| 16 | */ |
||
| 17 | private $localExample; |
||
| 18 | |||
| 19 | /** |
||
| 20 | * @var string |
||
| 21 | */ |
||
| 22 | private $internationalExample; |
||
| 23 | |||
| 24 | /** |
||
| 25 | * @var string |
||
| 26 | */ |
||
| 27 | private $label; |
||
| 28 | |||
| 29 | public function __construct(string $countryCode, string $label, string $localExample, string $internationalExample) |
||
| 30 | { |
||
| 31 | $this->countryCode = $countryCode; |
||
| 32 | $this->label = $label; |
||
| 33 | $this->localExample = $localExample; |
||
| 34 | $this->internationalExample = $internationalExample; |
||
| 35 | } |
||
| 36 | |||
| 37 | /** |
||
| 38 | * @return string |
||
| 39 | */ |
||
| 40 | public function getLabel(): string |
||
| 41 | { |
||
| 42 | return $this->label; |
||
| 43 | } |
||
| 44 | |||
| 45 | /** |
||
| 46 | * @return string |
||
| 47 | */ |
||
| 48 | public function getCountryCode(): string |
||
| 49 | { |
||
| 50 | return $this->countryCode; |
||
| 51 | } |
||
| 52 | |||
| 53 | /** |
||
| 54 | * @return string |
||
| 55 | */ |
||
| 56 | public function getLocalExample(): string |
||
| 59 | } |
||
| 60 | |||
| 61 | /** |
||
| 62 | * @return string |
||
| 63 | */ |
||
| 64 | public function getInternationalExample(): string |
||
| 67 | } |
||
| 68 | } |
||
| 69 |