Property | Type | Description | |
---|---|---|---|
$CACHE_PATH |
Method | Description | |
---|---|---|
cachePath ( $config ) : string | Returns the cache file path | |
isEnabled ( $config ) : boolean | Determines from the Configuration if caching is currently enabled/disabled | |
pull ( array | null $config = null, string $clientId = null ) : mixed | null | A pull method which would read the persisted data based on clientId. | |
push ( array | null $config = null, $clientId, $accessToken, $tokenCreateTime, $tokenExpiresIn ) | Persists the data into a cache file provided in $CACHE_PATH |
Method | Description | |
---|---|---|
getConfigValue ( $key, $config ) : null | string | Returns the Value of the key if found in given config, or from PayPal Config Manager Returns null if not found |