PHP 클래스 Sulu\Bundle\LocationBundle\Geolocator\GeolocatorResponse

상속: implements Countable
파일 보기 프로젝트 열기: sulu/sulu 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$locations

공개 메소드들

메소드 설명
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.

메소드 상세

addLocation() 공개 메소드

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

count() 공개 메소드

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

toArray() 공개 메소드

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

프로퍼티 상세

$locations 보호되어 있는 프로퍼티

protected $locations