You are here

public function DummyAcquiaLiftHttpClient::get in Acquia Lift Connector 7.2

Same name and namespace in other branches
  1. 7 tests/acquia_lift.test_classes.inc \DummyAcquiaLiftHttpClient::get()

Implements AcquiaLiftDrupalHttpClientInterface::get().

Overrides AcquiaLiftDrupalHttpClientInterface::get

1 method overrides DummyAcquiaLiftHttpClient::get()
DummyALProfilesHttpClient::get in acquia_lift_profiles/tests/acquia_lift_profiles.test_classes.inc
Implements AcquiaLiftDrupalHttpClientInterface::get().

File

tests/acquia_lift.test_classes.inc, line 162
Provides test classes for Acquia Lift

Class

DummyAcquiaLiftHttpClient
Classes used for testing.

Code

public function get($uri = null, $headers = null, array $options = array()) {
  $this
    ->logRequest('get', $uri, $headers, $options);
  $data = $this
    ->getDataForURI($uri, $headers);
  return $this
    ->generateDummyResponse($data);
}