lib/BlockCypher/Cache/AuthorizationCache.php
private static function getConfigValue($key, $config)
    {
        $config = ($config && is_array($config)) ? $config : BlockCypherConfigManager::getInstance()->getConfigHashmap();
        return (array_key_exists($key, $config)) ? trim($config[$key]) : null;
    }
private static function getConfigValue($key, $config)
    {
        $config = ($config && is_array($config)) ? $config : BlockCypherConfigManager::getInstance()->getConfigHashmap();
        return (array_key_exists($key, $config)) ? trim($config[$key]) : null;
    }
private static function getConfigValue ( $ key , $ config ) { $ config = ( $ config && is_array ( $ config ) ) ? $ config : BlockCypherConfigManager :: getInstance ( ) -> getConfigHashmap ( ) ; return ( array_key_exists ( $ key , $ config ) ) ? trim ( $ config [ $ key ] ) : null ; }
Returns the Value of the key if found in given config, or from BlockCypher Config Manager
Returns null if not found

@param $key
@param $config
@return null|string
Returns the Value of the key if found in given config or from BlockCypher Config Manager Returns null if not found