You are here

public function DatabaseMockStorage::lastRequest in Apigee Edge 8

File

tests/modules/apigee_mock_api_client/src/DatabaseMockStorage.php, line 147

Class

DatabaseMockStorage
A mock storage for functional tests.

Namespace

Drupal\apigee_mock_api_client

Code

public function lastRequest() : ?RequestInterface {
  $requests = $this
    ->requests();
  return !empty($requests) ? end($requests) : NULL;
}