You are here

public static function Braintree_Configuration::environment in Commerce Braintree 7

21 calls to Braintree_Configuration::environment()
Braintree_Configuration::caFile in braintree_php/lib/Braintree/Configuration.php
sets the physical path for the location of the CA certs
Braintree_Configuration::serverName in braintree_php/lib/Braintree/Configuration.php
returns gateway server name depending on environment
Braintree_Configuration::sslOn in braintree_php/lib/Braintree/Configuration.php
returns boolean indicating SSL is on or off for this session, depending on environment
Braintree_ConfigurationTest::teardown in braintree_php/tests/unit/ConfigurationTest.php
Braintree_ConfigurationTest::testBaseUrl in braintree_php/tests/unit/ConfigurationTest.php

... See full list

File

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

Class

Braintree_Configuration
acts as a registry for config data.

Code

public static function environment($value = null) {
  return self::setOrGet(__FUNCTION__, $value);
}