Constructor.
public __construct ( array $query = [], array $request = [], array $attributes = [], array $cookies = [], array $files = [], array $server = [], string | resource $content = null ) | ||
$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 | resource | The raw body data |