PHP Class App\Http\Controllers\FoursquareController

Inheritance: extends Controller
Show file Open project: unicodeveloper/laravel-hackathon-starter

Protected Properties

Property Type Description
$foursquare object Instance of Foursquare API

Public Methods

Method Description
__construct ( ) Initialize the Controller with necessary arguments
getPage ( ) : mixed Return all data to the Foursquare API dashboard

Private Methods

Method Description
getVenues ( ) : array Search For Venues

Method Details

__construct() public method

Initialize the Controller with necessary arguments
public __construct ( )

getPage() public method

Return all data to the Foursquare API dashboard
public getPage ( ) : mixed
return mixed

Property Details

$foursquare protected property

Instance of Foursquare API
protected object $foursquare
return object