public function reverse($latitude, $longitude)
{
$exceptions = [];
foreach ($this->providers as $provider) {
try {
return $provider->reverse($latitude, $longitude);
} catch (InvalidCredentials $e) {
throw $e;
} catch (\Exception $e) {
$exceptions[] = $e;
}
}
throw new ChainNoResult(sprintf('No provider could reverse coordinates: %f, %f.', $latitude, $longitude), $exceptions);
}