PHP Class Geocoder\Provider\Chain

Author: Markus Bachmann ([email protected])
Inheritance: implements Geocoder\Provider\LocaleAwareProvider, use trait Geocoder\Provider\LocaleTrait
Exibir arquivo Open project: willdurand/geocoder Class Usage Examples

Public Methods

Method Description
__construct ( array $providers = [] )
add ( Geocoder\Provider\Provider $provider ) : Chain Adds a provider.
geocode ( $address ) {@inheritDoc}
getLimit ( ) {@inheritDoc}
getName ( ) {@inheritDoc}
limit ( $limit ) {@inheritDoc}
reverse ( $latitude, $longitude ) {@inheritDoc}

Method Details

__construct() public method

public __construct ( array $providers = [] )
$providers array

add() public method

Adds a provider.
public add ( Geocoder\Provider\Provider $provider ) : Chain
$provider Geocoder\Provider\Provider
return Chain

geocode() public method

{@inheritDoc}
public geocode ( $address )

getLimit() public method

{@inheritDoc}
public getLimit ( )

getName() public method

{@inheritDoc}
public getName ( )

limit() public method

{@inheritDoc}
public limit ( $limit )

reverse() public method

{@inheritDoc}
public reverse ( $latitude, $longitude )