public static function DataApi::reset in Acquia Lift Connector 8
Resets the singleton instance.
Used in unit tests.
File
- src/
Service/ Api/ DataApi.php, line 87 - Contains \Drupal\acquia_lift\Service\Api\DataApi.
Class
Namespace
Drupal\acquia_lift\Service\ApiCode
public static function reset() {
// This needs to be thought through. The D8 service handling ensures that
// this is a singleton. The test instance should be created via
// factory and that means that this functionality is likely moved outside of
// this class.
throw new \Exception('Todo: reset API not yet implemented');
}