| Total Complexity | 4 |
| Total Lines | 26 |
| Duplicated Lines | 0 % |
| Coverage | 0% |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 11 | class Geocoder implements GeocoderInterface |
||
| 12 | { |
||
| 13 | private ProviderInterface $provider; |
||
| 14 | private string $locale; |
||
| 15 | |||
| 16 | public function __construct(ProviderInterface $provider, string $locale = '') |
||
| 17 | { |
||
| 18 | $this->provider = $provider; |
||
| 19 | $this->locale = $locale; |
||
| 20 | } |
||
| 21 | |||
| 22 | public function getLocationByCoordinates(float $latitude, float $longitude): LocationInterface |
||
| 27 | } |
||
| 28 | |||
| 29 | public function getLocationByAddress(string $address): LocationInterface |
||
| 32 | } |
||
| 33 | |||
| 34 | public function getProviderName(): string |
||
| 37 | } |
||
| 38 | } |
||
| 39 |