Symfony\Component\BrowserKit\Client::request
Calls a URI.
Signature
protected function request(string
$method,
[string
$uri = null,
[array
$parameters = null,
[array
$files = null,
[array
$server = null,
[string
$content = null,
[Boolean
$changeHistory = true]]]]]] )
Parameters
$method
—
string
- The request method
$uri
—
string
- The URI to fetch
$parameters
—
array
- The Request parameters
$files
—
array
- The files
$server
—
array
- The server parameters (HTTP headers are referenced with a HTTP_ prefix as PHP does)
$content
—
string
- The raw body data
$changeHistory
—
object
- Whether to update the history or not (only used internally for back(), forward(), and reload())
Returns
- Crawler