interface GeolocatorControllerInterface (View source)

Methods

bool
hasConfigurationForm()

Does this geolocator library has a configuration form?

renderConfigurationForm()

Render the configuration form.

array
saveConfigurationForm(array $configuration, ParameterBag $data, ErrorList $error)

Save the configuration form.

geolocateIPAddress(AddressInterface $address)

Geolocate an IP address.

Details

bool hasConfigurationForm()

Does this geolocator library has a configuration form?

Return Value

bool

renderConfigurationForm()

Render the configuration form.

array saveConfigurationForm(array $configuration, ParameterBag $data, ErrorList $error)

Save the configuration form.

Parameters

array $configuration The initial geolocator configuration
ParameterBag $data The data received
ErrorList $error Add errors to this instance

Return Value

array The final geolocator configuration

GeolocationResult geolocateIPAddress(AddressInterface $address)

Geolocate an IP address.

Parameters

AddressInterface $address

Return Value

GeolocationResult