AbstractCurrentLocation.php
6 months ago
AbstractLocationApplicationService.php
1 year ago
BasicLocationApplicationService.php
2 years ago
CurrentLocation.php
3 months ago
LiteCurrentLocation.php
6 months ago
AbstractCurrentLocation.php
26 lines
| 1 | <?php |
| 2 | |
| 3 | /** |
| 4 | * @copyright © Melograno Ventures. All rights reserved. |
| 5 | * @licence See LICENCE.md for license details. |
| 6 | */ |
| 7 | |
| 8 | namespace AmeliaBooking\Application\Services\Location; |
| 9 | |
| 10 | /** |
| 11 | * Class AbstractCurrentLocation |
| 12 | * |
| 13 | * @package AmeliaBooking\Application\Services\Location |
| 14 | */ |
| 15 | abstract class AbstractCurrentLocation |
| 16 | { |
| 17 | /** |
| 18 | * Get country ISO code by public IP address |
| 19 | * |
| 20 | * @param string $ipLocateApyKey |
| 21 | * |
| 22 | * @return string |
| 23 | */ |
| 24 | abstract public function getCurrentLocationCountryIso($ipLocateApyKey); |
| 25 | } |
| 26 |