PHP Class Sulu\Bundle\LocationBundle\Geolocator\Service\NominatimGeolocator

http://wiki.openstreetmap.org/wiki/Nominatim
Inheritance: implements Sulu\Bundle\LocationBundle\Geolocator\GeolocatorInterface
Show file Open project: sulu/sulu

Protected Properties

Property Type Description
$baseUrl
$client

Public Methods

Method Description
__construct ( Guzzle\Http\ClientInterface $client, $baseUrl = '' )
locate ( $query )

Method Details

__construct() public method

public __construct ( Guzzle\Http\ClientInterface $client, $baseUrl = '' )
$client Guzzle\Http\ClientInterface

locate() public method

public locate ( $query )

Property Details

$baseUrl protected property

protected $baseUrl

$client protected property

protected $client