You are here

public function Client::getRequest in Zircon Profile 8

Same name in this branch
  1. 8 vendor/symfony/http-kernel/Client.php \Symfony\Component\HttpKernel\Client::getRequest()
  2. 8 vendor/symfony/browser-kit/Client.php \Symfony\Component\BrowserKit\Client::getRequest()
Same name and namespace in other branches
  1. 8.0 vendor/symfony/browser-kit/Client.php \Symfony\Component\BrowserKit\Client::getRequest()

Returns the current origin Request instance.

The origin request is the request instance that is sent to the code that handles requests.

Return value

object|null A Request instance

See also

doRequest()

1 call to Client::getRequest()
Client::getRequest in vendor/symfony/http-kernel/Client.php
1 method overrides Client::getRequest()
Client::getRequest in vendor/symfony/http-kernel/Client.php

File

vendor/symfony/browser-kit/Client.php, line 210

Class

Client
Client simulates a browser.

Namespace

Symfony\Component\BrowserKit

Code

public function getRequest() {
  return $this->request;
}