You are here

public function Request::__construct in Zircon Profile 8

Same name in this branch
  1. 8 vendor/symfony/http-foundation/Request.php \Symfony\Component\HttpFoundation\Request::__construct()
  2. 8 vendor/symfony/browser-kit/Request.php \Symfony\Component\BrowserKit\Request::__construct()
  3. 8 vendor/zendframework/zend-diactoros/src/Request.php \Zend\Diactoros\Request::__construct()
  4. 8 vendor/guzzlehttp/psr7/src/Request.php \GuzzleHttp\Psr7\Request::__construct()
  5. 8 vendor/jcalderonzumba/gastonjs/src/NetworkTraffic/Request.php \Zumba\GastonJS\NetworkTraffic\Request::__construct()
Same name and namespace in other branches
  1. 8.0 vendor/symfony/http-foundation/Request.php \Symfony\Component\HttpFoundation\Request::__construct()

Constructor.

Parameters

array $query The GET parameters:

array $request The POST parameters:

array $attributes The request attributes (parameters parsed from the PATH_INFO, ...):

array $cookies The COOKIE parameters:

array $files The FILES parameters:

array $server The SERVER parameters:

string|resource $content The raw body data:

File

vendor/symfony/http-foundation/Request.php, line 219

Class

Request
Request represents an HTTP request.

Namespace

Symfony\Component\HttpFoundation

Code

public function __construct(array $query = array(), array $request = array(), array $attributes = array(), array $cookies = array(), array $files = array(), array $server = array(), $content = null) {
  $this
    ->initialize($query, $request, $attributes, $cookies, $files, $server, $content);
}