protected function Client::doRequest in Zircon Profile 8.0
Same name in this branch
- 8.0 vendor/symfony/http-kernel/Client.php \Symfony\Component\HttpKernel\Client::doRequest()
- 8.0 vendor/symfony/browser-kit/Client.php \Symfony\Component\BrowserKit\Client::doRequest()
- 8.0 vendor/fabpot/goutte/Goutte/Client.php \Goutte\Client::doRequest()
Same name and namespace in other branches
- 8 vendor/symfony/http-kernel/Client.php \Symfony\Component\HttpKernel\Client::doRequest()
Makes a request.
Parameters
Request $request A Request instance:
Return value
Overrides Client::doRequest
File
- vendor/
symfony/ http-kernel/ Client.php, line 77
Class
- Client
- Client simulates a browser and makes requests to a Kernel object.
Namespace
Symfony\Component\HttpKernelCode
protected function doRequest($request) {
$response = $this->kernel
->handle($request);
if ($this->kernel instanceof TerminableInterface) {
$this->kernel
->terminate($request, $response);
}
return $response;
}