/** * initialize the gateway * @param \TheTwelve\Foursquare\HttpClient $client */ public function __construct(HttpClient $client) { parent::__construct($client); $this->userId = 'self'; }
/** * initialize the authentication gateway * @param \TheTwelve\Foursquare\HttpClient $httpClient * @param \TheTwelve\Foursquare\Redirector $redirector */ public function __construct(HttpClient $httpClient, Redirector $redirector) { parent::__construct($httpClient); $this->redirector = $redirector; }