| 1 | <?php |
||
| 11 | class PlaceClient extends Client implements PlaceClientInterface |
||
| 12 | { |
||
| 13 | /** |
||
| 14 | * {@inheritdoc} |
||
| 15 | */ |
||
| 16 | protected $apiUrl = 'https://maps.googleapis.com/maps/api/place'; |
||
| 17 | |||
| 18 | /** |
||
| 19 | * @var PlaceHydrator |
||
| 20 | */ |
||
| 21 | private $placeHydrator; |
||
| 22 | |||
| 23 | public function __construct(ClientInterface $httpClient, $decoder, $apiKey, PlaceHydrator $placeHydrator) |
||
| 28 | |||
| 29 | /** |
||
| 30 | * {@inheritdoc} |
||
| 31 | */ |
||
| 32 | public function nearbysearch(array $params) |
||
| 38 | |||
| 39 | /** |
||
| 40 | * {@inheritdoc} |
||
| 41 | */ |
||
| 42 | public function details(array $params) |
||
| 53 | } |
||
| 54 |