mirror of
https://github.com/shlinkio/shlink.git
synced 2026-03-06 23:33:13 +08:00
18 lines
394 B
PHP
18 lines
394 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace Shlinkio\Shlink\Core\Visit;
|
|
|
|
use Shlinkio\Shlink\Core\Entity\Visit;
|
|
use Shlinkio\Shlink\Core\Exception\IpCannotBeLocatedException;
|
|
use Shlinkio\Shlink\IpGeolocation\Model\Location;
|
|
|
|
interface VisitToLocationHelperInterface
|
|
{
|
|
/**
|
|
* @throws IpCannotBeLocatedException
|
|
*/
|
|
public function resolveVisitLocation(Visit $visit): Location;
|
|
}
|