Braintree\TestingGateway::_checkEnvironment PHP Méthode

_checkEnvironment() private méthode

private _checkEnvironment ( )
    private function _checkEnvironment()
    {
        if (Configuration::$global->getEnvironment() === 'production') {
            throw new Exception\TestOperationPerformedInProduction();
        }
    }