You are here

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

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

Resets the singleton instance.

Used in unit tests.

4 calls to ALProfilesAPI::reset()
ALProfilesAPITest::testDeleteEvent in acquia_lift_profiles/tests/acquia_lift_profiles_unit.test
Test ALProfilesAPI->deleteEvent()
ALProfilesAPITest::testGetInstance in acquia_lift_profiles/tests/acquia_lift_profiles_unit.test
Tests getting ALProfilesAPI instance with invalid and valid credentials.
ALProfilesAPITest::testGetSegements in acquia_lift_profiles/tests/acquia_lift_profiles_unit.test
ALProfilesAPITest::testSaveEvent in acquia_lift_profiles/tests/acquia_lift_profiles_unit.test
Test ALProfilesAPI->saveEvent()

File

acquia_lift_profiles/includes/acquia_lift_profiles.classes.inc, line 132
Provides an agent type for Acquia Lift Profiles

Class

ALProfilesAPI
@file Provides an agent type for Acquia Lift Profiles

Code

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