function MockClient::doRequest
Same name in other branches
- 11.x core/tests/Drupal/Tests/Core/Test/WebAssertTest.php \Drupal\Tests\Core\Test\MockClient::doRequest()
File
-
core/
tests/ Drupal/ Tests/ Core/ Test/ WebAssertTest.php, line 459
Class
- MockClient
- A mock client.
Namespace
Drupal\Tests\Core\TestCode
protected function doRequest(object $request) : object {
return $this->response ?? new Response();
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.