Copied!

BatchGeocoded class

CloneableInstantiable
Methods
public __call( $method, $args)
 

Router all other methods call directly to our address object

  • return mixed
public fromArray(array $data = [])
 

Create an instance from an array, used from cache libraries.

  • param array $data
public getAddress()
 

Get the address

  • return Location
public getCoordinates()
 

Returns an array of coordinates (latitude, longitude).

  • return Coordinates|null
public getExceptionMessage()
 

Get the exception message.

  • return string The exception message.
public getLatitude()
 

Returns the latitude value.

  • return float
public getLongitude()
 

Returns the longitude value.

  • return float
public getProviderName()
 

Get the name of the provider.

  • return string The name of the provider.
public getQuery()
 

Get the query.

  • return string The query.
public setAddress( $address)
 

Set the address

  • param Location $address
public setExceptionMessage( $exception)
 

Set the exception message.

  • param string $exception The exception message.
public setProviderName( $providerName)
 

Set the name of the provider.

  • param string $providerName The name of the provider.
public setQuery( $query)
 

Set the query.

  • param string $query The query.
Properties
protected $address
 

The Location object.

  • var Location
protected $exception
 

The exception message.

  • var string
protected $providerName
 

The name of the provider.

  • var string
protected $query
 

The query.

  • var string
© 2022 Bruce Wells
Search Namespaces \ Classes
Configuration