App\Http\Controllers\ExampleController::getNearbySearch PHP Method

getNearbySearch() public method

public getNearbySearch ( )
    public function getNearbySearch()
    {
        $d = \GoogleMaps::load('nearbysearch')->setParam(['location' => '-33.8670522,151.1957362', 'radius' => '500', 'name' => 'sydney', 'type' => 'airport'])->getResponseByKey('results.photos');
        dd($d);
    }