Moved Geolocation services to its own namespace inside CLI module

This commit is contained in:
Alejandro Celaya
2022-09-18 10:01:22 +02:00
parent 3f01fad12f
commit 59bcd62717
10 changed files with 14 additions and 14 deletions

View File

@@ -0,0 +1,15 @@
<?php
declare(strict_types=1);
namespace Shlinkio\Shlink\CLI\GeoLite;
use Shlinkio\Shlink\CLI\Exception\GeolocationDbUpdateFailedException;
interface GeolocationDbUpdaterInterface
{
/**
* @throws GeolocationDbUpdateFailedException
*/
public function checkDbUpdate(?callable $beforeDownload = null, ?callable $handleProgress = null): void;
}