Copied!

Batch class

CloneableInstantiable
Methods
public __construct(Geocoder\ProviderAggregator $geocoder)
 

Set 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.

    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.

        protected $geocoder
         

        The Geocoder instance to use.

        protected $tasks
         

        An array of closures.

        Methods
        private getCacheKey(string $providerName, string $query) : string
        © 2023 Bruce Wells
        Search Namespaces \ Classes
        Configuration