public function ProviderBase::geocode in Geocoder 8.3
Same name and namespace in other branches
- 8.2 src/ProviderBase.php \Drupal\geocoder\ProviderBase::geocode()
Geocode a source string.
Parameters
string $source: The data to be geocoded.
Return value
\Geocoder\Model\AddressCollection|\Geometry|null The address collection, or the geometry, or NULL.
Overrides ProviderInterface::geocode
File
- src/
ProviderBase.php, line 78
Class
- ProviderBase
- Provides a base class for providers using handlers.
Namespace
Drupal\geocoderCode
public function geocode($source) {
return $this
->process(__FUNCTION__, \func_get_args());
}