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

{@inheritDoc}
public geocode ( $address )
Пример #1
0
 /**
  * @expectedException \Geocoder\Exception\NoResult
  */
 public function testGeocodeWithRealIPv4NoResults()
 {
     if (!isset($_SERVER['GEOIPS_API_KEY'])) {
         $this->markTestSkipped('You need to configure the GEOIPS_API_KEY value in phpunit.xml');
     }
     $provider = new GeoIPs($this->getAdapter($_SERVER['GEOIPS_API_KEY']), $_SERVER['GEOIPS_API_KEY']);
     $provider->geocode('255.255.150.96');
 }