Registered GeolocationDbUpdater service and added callable which is invoked when db is going to be updated

This commit is contained in:
Alejandro Celaya
2019-04-14 11:19:21 +02:00
parent b24511b7b5
commit 0f48dd567f
4 changed files with 23 additions and 7 deletions

View File

@@ -10,5 +10,5 @@ interface GeolocationDbUpdaterInterface
/**
* @throws GeolocationDbUpdateFailedException
*/
public function checkDbUpdate(callable $handleProgress = null): void;
public function checkDbUpdate(callable $mustBeUpdated = null, callable $handleProgress = null): void;
}