PHP Class Sulu\Bundle\LocationBundle\Geolocator\GeolocatorResponse

Inheritance: implements Countable
Afficher le fichier Open project: sulu/sulu Class Usage Examples

Protected Properties

Свойство Type Description
$locations

Méthodes publiques

Méthode 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 méthode

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

count() public méthode

Return the number of locations in the response.
public count ( ) : integer
Résultat integer

toArray() public méthode

Return an array representation of the response.
public toArray ( ) : array
Résultat array

Property Details

$locations protected_oe property

protected $locations