Copied!

Batch class

Cloneable Instantiable
Methods
public __construct ( Geocoder\ProviderAggregator $geocoder )
 

Set the Geocoder instance to use.

  • param ProviderAggregator $geocoder The Geocoder instance to use.
public cache ( League\Geotools\Batch\BatchGeocoded $geocoded )
 

Cache the BatchGeocoded object.

public geocode ( $values )
 
public isCached ( $providerName , $query )
 

Check against the cache instance if any.

  • param string $providerName The name of the provider.
  • param string $query The query string.
  • return bool | League\Geotools\Batch\BatchGeocoded The BatchGeocoded object from the query or the cache instance.
public parallel ()
 
  • see http://php.net/manual/en/functions.anonymous.php
public reverse ( $coordinates )
 
public serie ()
 
  • see http://php.net/manual/en/functions.anonymous.php
public setCache ( Psr\Cache\CacheItemPoolInterface $cache )
 
Properties
protected $cache
 

The cache instance to use.

  • var CacheItemPoolInterface
protected $geocoder
 

The Geocoder instance to use.

  • var ProviderAggregator
protected $tasks
 

An array of closures.

  • var array
Methods
private getCacheKey ( string $providerName , string $query ) : string
© 2022 Bruce Wells
Search Namespaces \ Classes
Configuration