public function Request::__construct

Same name in this branch

Constructor.

@api

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 $content The raw body data:

File

drupal/core/vendor/symfony/http-foundation/Symfony/Component/HttpFoundation/Request.php, line 167

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);
}