PayPal\Cache\AuthorizationCache::getConfigValue PHP Méthode

getConfigValue() private static méthode

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
Résultat 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;
    }