SachinAgarwal1337 / google-places-api

This is a PHP wrapper for Google Places API Web Service. And is Laravel Framework friendly.
MIT License
182 stars 44 forks source link

How do i iterate over results? #51

Closed yonatonreid closed 5 years ago

yonatonreid commented 5 years ago

I have the following code:

 $resp = $googlePlaces->nearbySearch('11.585125,104.863643', 500,array('type' => 'school'));

How do i iterate over $resp?