public function FormatterInterface::format in Geocoder 8.2
Same name and namespace in other branches
- 8.3 src/Plugin/Geocoder/Formatter/FormatterInterface.php \Drupal\geocoder\Plugin\Geocoder\Formatter\FormatterInterface::format()
Dumps the argument into a specific format.
Parameters
\Geocoder\Model\Address $address: The address to be formatted.
Return value
string The formatted address.
1 method overrides FormatterInterface::format()
- FormattedAddress::format in src/
Plugin/ Geocoder/ Formatter/ FormattedAddress.php - Dumps the argument into a specific format.
File
- src/
Plugin/ Geocoder/ Formatter/ FormatterInterface.php, line 24
Class
- FormatterInterface
- Provides an interface for geocoder formatter plugins.
Namespace
Drupal\geocoder\Plugin\Geocoder\FormatterCode
public function format(Address $address);