HubSettings
in package
Class HubSettings
Tags
Table of Contents
- $curlTimeout : int
- __construct() : mixed
- HubSettings constructor.
- getClientKey() : string
- Returns the client key.
- getCurlTimeout() : int
- Returns curl timeout in seconds.
- getHubUrl() : string
- Returns the Hub URL, used for API calls.
- getShopKey() : string
- Returns the current shop key.
- getShopUrl() : string
- Returns the shop URL.
Properties
$curlTimeout
protected
int
$curlTimeout
Methods
__construct()
HubSettings constructor.
public
__construct(int $curlTimeout) : mixed
Parameters
- $curlTimeout : int
-
curl timeout in seconds
Return values
mixed —getClientKey()
Returns the client key.
public
getClientKey() : string
Return values
string —getCurlTimeout()
Returns curl timeout in seconds.
public
getCurlTimeout() : int
Return values
int —getHubUrl()
Returns the Hub URL, used for API calls.
public
getHubUrl() : string
Return values
string —getShopKey()
Returns the current shop key.
public
getShopKey() : string
Return values
string —getShopUrl()
Returns the shop URL.
public
getShopUrl() : string