Iamstuartwilson\StravaApi::__construct PHP Method

__construct() public method

Sets up the class with the $clientId and $clientSecret
public __construct ( integer $clientId = 1, string $clientSecret = '' )
$clientId integer
$clientSecret string
    public function __construct($clientId = 1, $clientSecret = '')
    {
        $this->clientId = $clientId;
        $this->clientSecret = $clientSecret;
        $this->apiUrl = self::BASE_URL . 'api/v3/';
        $this->authUrl = self::BASE_URL . 'oauth/';
    }