| Total Complexity | 9 |
| Total Lines | 45 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 0 | ||
| 1 | <?php |
||
| 19 | final class NormalizedPhone |
||
| 20 | { |
||
| 21 | use DataAware; |
||
| 22 | |||
| 23 | 1 | public function getId(): string |
|
| 24 | { |
||
| 25 | 1 | return $this->get('id'); |
|
| 26 | } |
||
| 27 | |||
| 28 | 1 | public function getCountryCode(): string |
|
| 29 | { |
||
| 30 | 1 | return $this->get('phone-country-code'); |
|
| 31 | } |
||
| 32 | |||
| 33 | 1 | public function getCityCode(): string |
|
| 34 | { |
||
| 35 | 1 | return $this->get('phone-city-code'); |
|
| 36 | } |
||
| 37 | |||
| 38 | 1 | public function getNumber(): string |
|
| 41 | } |
||
| 42 | |||
| 43 | 1 | public function getExtension(): string |
|
| 44 | { |
||
| 45 | 1 | return $this->get('phone-extension'); |
|
| 46 | } |
||
| 47 | |||
| 48 | 1 | public function getOriginalPhone(): string |
|
| 49 | { |
||
| 50 | 1 | return $this->get('original-phone'); |
|
| 51 | } |
||
| 52 | |||
| 53 | 1 | public function getQualityCode(): PhoneQuality |
|
| 56 | } |
||
| 57 | |||
| 58 | 1 | public function isUseful(): bool |
|
| 59 | { |
||
| 60 | return |
||
| 64 | } |
||
| 65 | } |
||
| 66 |