Copied!

Batch interface

AbstractInterface
Methods
public abstract geocode( $values)
 

Set an array of closures to geocode.

If a provider throws an exception it will return an empty AddressCollection.

public abstract parallel()
 

Returns an array of AddressCollection processed in parallel.

  • return Collection[]
  • throws Exception
public abstract reverse( $coordinates)
 

Set an array of closures to reverse geocode.

If a provider throws an exception it will return an empty AddressCollection.

public abstract serie()
 

Returns an array of AddressCollection processed in serie.

  • return Collection[]
  • throws Exception
public abstract setCache(Psr\Cache\CacheItemPoolInterface $cache)
 

Set the cache object to use.

© 2022 Bruce Wells
Search Namespaces \ Classes
Configuration