Geocoder\Provider\GeoPlugin::reverse PHP Méthode

reverse() public méthode

{@inheritDoc}
public reverse ( $latitude, $longitude )
    public function reverse($latitude, $longitude)
    {
        throw new UnsupportedOperation('The GeoPlugin provider is not able to do reverse geocoding.');
    }

Usage Example

Exemple #1
0
 /**
  * @expectedException \Geocoder\Exception\UnsupportedOperation
  * @expectedExceptionMessage The GeoPlugin provider is not able to do reverse geocoding.
  */
 public function testReverse()
 {
     $provider = new GeoPlugin($this->getMockAdapter($this->never()));
     $provider->reverse(1, 2);
 }