Moved Ip resolvers to the Resolver subnamespace

This commit is contained in:
Alejandro Celaya
2019-08-10 13:56:06 +02:00
parent 30314fd532
commit 3520ab6b18
16 changed files with 42 additions and 31 deletions

View File

@@ -0,0 +1,15 @@
<?php
declare(strict_types=1);
namespace Shlinkio\Shlink\IpGeolocation\Resolver;
use Shlinkio\Shlink\Common\Exception\WrongIpException;
use Shlinkio\Shlink\IpGeolocation\Model;
interface IpLocationResolverInterface
{
/**
* @throws WrongIpException
*/
public function resolveIpLocation(string $ipAddress): Model\Location;
}