App\Http\Controllers\FoursquareController::__construct PHP Method

__construct() public method

Initialize the Controller with necessary arguments
public __construct ( )
    public function __construct()
    {
        $this->foursquare = new FoursquareApi(env('FOURSQUARE_CLIENT_ID'), env('FOURSQUARE_CLIENT_SECRET'));
    }