PayPal\Cache\AuthorizationCache::getConfigValue PHP Method

getConfigValue() private static method

Returns the Value of the key if found in given config, or from PayPal Config Manager Returns null if not found
private static getConfigValue ( $key, $config ) : null | string
$key
$config
return null | string
    private static function getConfigValue($key, $config)
    {
        $config = $config && is_array($config) ? $config : PayPalConfigManager::getInstance()->getConfigHashmap();
        return array_key_exists($key, $config) ? trim($config[$key]) : null;
    }