PHP 인터페이스 League\Geotools\Batch\BatchInterface

저자: Antoine Corcy ([email protected])
파일 보기 프로젝트 열기: toin0u/geotools

공개 메소드들

메소드 설명
geocode ( string | array $values ) : League\Geotools\Batch\BatchInterface Set an array of closures to geocode.
parallel ( ) : AddressCollection[] Returns an array of AddressCollection processed in parallel.
reverse ( League\Geotools\Coordinate\CoordinateInterface | array $coordinates ) : League\Geotools\Batch\BatchInterface Set an array of closures to reverse geocode.
serie ( ) : AddressCollection[] Returns an array of AddressCollection processed in serie.
setCache ( League\Geotools\Cache\CacheInterface $cache ) : League\Geotools\Batch\BatchInterface Set the cache object to use.

메소드 상세

geocode() 공개 메소드

If a provider throws an exception it will return an empty AddressCollection.
public geocode ( string | array $values ) : League\Geotools\Batch\BatchInterface
$values string | array A value or an array of values to geocode.
리턴 League\Geotools\Batch\BatchInterface

parallel() 공개 메소드

Returns an array of AddressCollection processed in parallel.
public parallel ( ) : AddressCollection[]
리턴 AddressCollection[]

reverse() 공개 메소드

If a provider throws an exception it will return an empty AddressCollection.
public reverse ( League\Geotools\Coordinate\CoordinateInterface | array $coordinates ) : League\Geotools\Batch\BatchInterface
$coordinates League\Geotools\Coordinate\CoordinateInterface | array A coordinate or an array of coordinates to reverse.
리턴 League\Geotools\Batch\BatchInterface

serie() 공개 메소드

Returns an array of AddressCollection processed in serie.
public serie ( ) : AddressCollection[]
리턴 AddressCollection[]

setCache() 공개 메소드

Set the cache object to use.
public setCache ( League\Geotools\Cache\CacheInterface $cache ) : League\Geotools\Batch\BatchInterface
$cache League\Geotools\Cache\CacheInterface The cache object to use.
리턴 League\Geotools\Batch\BatchInterface