Geocoder\Provider\MaxMindBinary::reverse PHP Метод

reverse() публичный Метод

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

Usage Example

Пример #1
0
 /**
  * @expectedException \Geocoder\Exception\UnsupportedOperation
  * @expectedExceptionMessage The MaxMindBinary is not able to do reverse geocoding.
  */
 public function testThrowOnReverseMethodUsage()
 {
     $provider = new MaxMindBinary($this->binaryFile);
     $provider->reverse(0, 0);
 }