Symfony\Component\BrowserKit\Request::__construct
Constructor.
Signature
public function __construct(string
$uri,
[string
$method = null,
[array
$parameters = null,
[array
$files = null,
[array
$cookies = null,
[array
$server = null,
[string
$content = null]]]]]] )
Parameters
$uri
—
string
- The request URI
$method
—
string
- The HTTP method request
$parameters
—
array
- The request parameters
$files
—
array
- An array of uploaded files
$cookies
—
array
- An array of cookies
$server
—
array
- An array of server parameters
$content
—
string
- The raw body data