public function Request::__construct in Zircon Profile 8
Same name in this branch
- 8 vendor/symfony/http-foundation/Request.php \Symfony\Component\HttpFoundation\Request::__construct()
- 8 vendor/symfony/browser-kit/Request.php \Symfony\Component\BrowserKit\Request::__construct()
- 8 vendor/zendframework/zend-diactoros/src/Request.php \Zend\Diactoros\Request::__construct()
- 8 vendor/guzzlehttp/psr7/src/Request.php \GuzzleHttp\Psr7\Request::__construct()
- 8 vendor/jcalderonzumba/gastonjs/src/NetworkTraffic/Request.php \Zumba\GastonJS\NetworkTraffic\Request::__construct()
Same name and namespace in other branches
- 8.0 vendor/symfony/browser-kit/Request.php \Symfony\Component\BrowserKit\Request::__construct()
Constructor.
Parameters
string $uri The request URI:
string $method The HTTP method request:
array $parameters The request parameters:
array $files An array of uploaded files:
array $cookies An array of cookies:
array $server An array of server parameters:
string $content The raw body data:
File
- vendor/
symfony/ browser-kit/ Request.php, line 40
Class
- Request
- Request object.
Namespace
Symfony\Component\BrowserKitCode
public function __construct($uri, $method, array $parameters = array(), array $files = array(), array $cookies = array(), array $server = array(), $content = null) {
$this->uri = $uri;
$this->method = $method;
$this->parameters = $parameters;
$this->files = $files;
$this->cookies = $cookies;
$this->server = $server;
$this->content = $content;
}