Symfony\Component\HttpFoundation\Request::__construct
Constructor.
Signature
public function __construct(array
$query,
[array
$request = null,
[array
$attributes = null,
[array
$cookies = null,
[array
$files = null,
[array
$server = null,
[string
$content = null]]]]]] )
Parameters
$query
—
array
- The GET parameters
$request
—
array
- The POST parameters
$attributes
—
array
- The request attributes (parameters parsed from the PATH_INFO, ...)
$cookies
—
array
- The COOKIE parameters
$files
—
array
- The FILES parameters
$server
—
array
- The SERVER parameters
$content
—
string
- The raw body data