mirror of
https://github.com/shlinkio/shlink.git
synced 2026-03-08 16:23:12 +08:00
15 lines
358 B
PHP
15 lines
358 B
PHP
<?php
|
|
declare(strict_types=1);
|
|
|
|
namespace Shlinkio\Shlink\CLI\Util;
|
|
|
|
use Shlinkio\Shlink\CLI\Exception\GeolocationDbUpdateFailedException;
|
|
|
|
interface GeolocationDbUpdaterInterface
|
|
{
|
|
/**
|
|
* @throws GeolocationDbUpdateFailedException
|
|
*/
|
|
public function checkDbUpdate(?callable $mustBeUpdated = null, ?callable $handleProgress = null): void;
|
|
}
|