public function AddressText::dump in Geocoder 8.2
Same name and namespace in other branches
- 8.3 src/Plugin/Geocoder/Dumper/AddressText.php \Drupal\geocoder\Plugin\Geocoder\Dumper\AddressText::dump()
Dumps the argument into a specific format.
Parameters
\Geocoder\Model\Address $address: The address to be formatted.
Return value
string The formatted address.
Overrides DumperBase::dump
File
- src/
Plugin/ Geocoder/ Dumper/ AddressText.php, line 72
Class
- AddressText
- Provides an address string geocoder dumper plugin.
Namespace
Drupal\geocoder\Plugin\Geocoder\DumperCode
public function dump(Address $address) {
return $this->geocoderFormatter
->format($address);
}