Skip to content

Latest commit

 

History

History
30 lines (19 loc) · 709 Bytes

place_detail_response.md

File metadata and controls

30 lines (19 loc) · 709 Bytes

Place Detail Response

When you have requested your place detail, the returned object is a PlaceDetailResponse. It wraps a place detail status, html attributions and the result.

Status

The available status are defined by the PlaceDetailStatus constants.

$status = $response->getStatus();

Html Attributions

The html attributions is a set of text which must be displayed to the user.

$htmlAttributions = $response->getHtmlAttributions();

Result

The result wraps the detailed place information requested.

$result = $response->getResult();

If you want to learn more about the place, you can read its documentation.