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

reverse() public méthode

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

Usage Example

Exemple #1
0
 /**
  * @expectedException \Geocoder\Exception\UnsupportedOperation
  * @expectedExceptionMessage The IpInfoDb provider is not able to do reverse geocoding.
  */
 public function testReverse()
 {
     $provider = new IpInfoDb($this->getMock('\\Ivory\\HttpAdapter\\HttpAdapterInterface'), 'api_key');
     $provider->reverse(null, null);
 }