Braintree\TestingGateway::_checkEnvironment PHP Метод

_checkEnvironment() приватный Метод

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