PHP Class Sulu\Bundle\LocationBundle\Geolocator\GeolocatorResponse

Inheritance: implements Countable
Mostra file Open project: sulu/sulu Class Usage Examples

Protected Properties

Property Type Description
$locations

Public Methods

Method Description
addLocation ( GeolocatorLocation $location ) Add a location to the response.
count ( ) : integer Return the number of locations in the response.
toArray ( ) : array Return an array representation of the response.

Method Details

addLocation() public method

Add a location to the response.
public addLocation ( GeolocatorLocation $location )
$location GeolocatorLocation

count() public method

Return the number of locations in the response.
public count ( ) : integer
return integer

toArray() public method

Return an array representation of the response.
public toArray ( ) : array
return array

Property Details

$locations protected_oe property

protected $locations