You are here

public static function AcquiaLiftAPI::reset in Acquia Lift Connector 7

Same name and namespace in other branches
  1. 7.2 includes/AcquiaLiftAPI.inc \AcquiaLiftAPI::reset()

Resets the singleton instance.

Used in unit tests.

2 calls to AcquiaLiftAPI::reset()
AcquiaLiftTest::testGetInstance in tests/AcquiaLiftAPI.test
Tests getting a AcquiaLiftAPI instance with invalid and valid credentials.
AcquiaLiftTest::testGetInstanceWithAPIUrl in tests/AcquiaLiftAPI.test
Tests getting a AcquiaLiftAPI instance that uses the default API url.

File

includes/acquia_lift.classes.inc, line 124
Provides an agent type for Acquia Lift

Class

AcquiaLiftAPI
@file Provides an agent type for Acquia Lift

Code

public static function reset() {
  self::$instance = NULL;
}