Places
class Places extends Api
Class Places
Constants
SERVICE_ENDPOINT |
|
Properties
protected GoogleMapsApi | $google_maps_api | from Api | |
protected string | $result_collection | ||
protected GoogleMapsResponse | $response | from Api | |
protected GoogleMapsRequest | $request | from Api |
Methods
createRequest(array $params, string|null $endpoint = null)
No description
from Api
findPlaceByText(string $query, array|null $params = [], array|null $fields = [])
No description
findPlace(array $params)
Find Places requests
makeApiCall(array $params, string $endpoint)
No description
findPlaceByPhoneNumber(string $number, array|null $params = [], array|null $fields = [])
No description
findNearbyPlace(array $params)
Nearby Search requests
textSearch(string $query, array|null $params = [])
Nearby Search requests
Details
in Api at line 57
__construct(array $config = [])
Api constructor.
in Api at line 69
protected array
getServiceConfig(array $config = [])
in Api at line 80
string
getServiceEndpoint()
in Api at line 92
GoogleMapsResultsCollection
callApi(array $params, string|null $endpoint = null)
in Api at line 106
GoogleMapsRequest
createRequest(array $params, string|null $endpoint = null)
in Api at line 117
GoogleMapsResultsCollection
getResultsCollections()
in Api at line 130
GoogleMapsResponse
getResponse()
in Api at line 141
GoogleMapsApi
getGoogleMapsApi()
in Api at line 152
Api
setGoogleMapsApi(GoogleMapsApi $google_maps_api)
in Api at line 163
GoogleMapsResultsCollection
getNextPage()
in Api at line 176
bool
responseHasNewPage()
at line 53
GoogleMapsResultsCollection
findPlaceByText(string $query, array|null $params = [], array|null $fields = [])
at line 79
GoogleMapsResultsCollection
findPlace(array $params)
Find Places requests
at line 101
GoogleMapsResultsCollection
makeApiCall(array $params, string $endpoint)
at line 114
GoogleMapsResultsCollection
findPlaceByPhoneNumber(string $number, array|null $params = [], array|null $fields = [])
at line 137
GoogleMapsResultsCollection
findNearbyPlaceByRadius(Location $location, int $radius, array|null $params = [])
at line 162
GoogleMapsResultsCollection
findNearbyPlace(array $params)
Nearby Search requests
at line 208
GoogleMapsResultsCollection
findNearbyPlaceByDistance(Location $location, array $params)
at line 230
GoogleMapsResultsCollection
textSearch(string $query, array|null $params = [])
Nearby Search requests