mirror of
https://github.com/shlinkio/shlink.git
synced 2026-03-07 07:43:12 +08:00
16 lines
359 B
PHP
16 lines
359 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;
|
|
}
|