public static function getConfigSetting($gateway, $key)
    {
        $config = self::config()->get($gateway);

        if (!is_array($config)) {
            return null;
        }

        return isset($config[$key]) ? $config[$key] : null;
    }
public static function getConfigSetting($gateway, $key)
    {
        $config = self::config()->get($gateway);

        if (!is_array($config)) {
            return null;
        }

        return isset($config[$key]) ? $config[$key] : null;
    }
public static function getConfigSetting ( $ gateway , $ key ) { $ config = self :: config ( ) -> get ( $ gateway ) ; if ( ! is_array ( $ config ) ) { return null ; } return isset ( $ config [ $ key ] ) ? $ config [ $ key ] : null ; }
Get a single config setting for a gateway
@param string $gateway the gateway name
@param string $key the config key to get
@return mixed
Get a single config setting for a gateway