You are here

public static function Braintree_Configuration::reset in Commerce Braintree 7

resets configuration to default @access public @static

10 calls to Braintree_Configuration::reset()
Braintree_ConfigurationTest::setup in braintree_php/tests/unit/ConfigurationTest.php
Braintree_ConfigurationTest::testBaseUrl in braintree_php/tests/unit/ConfigurationTest.php
Braintree_ConfigurationTest::testMerchantPath in braintree_php/tests/unit/ConfigurationTest.php
Braintree_ConfigurationTest::testmerchantUrl in braintree_php/tests/unit/ConfigurationTest.php
Braintree_ConfigurationTest::testPortNumber in braintree_php/tests/unit/ConfigurationTest.php

... See full list

File

braintree_php/lib/Braintree/Configuration.php, line 57

Class

Braintree_Configuration
acts as a registry for config data.

Code

public static function reset() {
  self::$_cache = array(
    'environment' => '',
    'merchantId' => '',
    'publicKey' => '',
    'privateKey' => '',
  );
}