Batch class
- author Antoine Corcy
CloneableInstantiable
Methods |
public __construct(Geocoder\ProviderAggregator $geocoder) Set the Geocoder instance to use.
|
public cache(League Cache the BatchGeocoded object.
|
public geocode( $values) |
public isCached( $providerName, $query) Check against the cache instance if any.
|
public parallel()
|
public reverse( $coordinates) |
public serie()
|
public setCache(Psr\Cache\CacheItemPoolInterface $cache) |
Properties |
protected $cache The cache instance to use. |
protected $geocoder The Geocoder instance to use. |
protected $tasks An array of closures. |
Methods |
private getCacheKey(string $providerName, string $query) : string |