class Request
protected | $uri | ||
protected | $method | ||
protected | $parameters | ||
protected | $files | ||
protected | $cookies | ||
protected | $server | ||
protected | $content |
__construct(string $uri, string $method, array $parameters = array(), array $files = array(), array $cookies = array(), array $server = array(), string $content = null) | ||
string | getUri() Gets the request URI. | |
string | getMethod() Gets the request HTTP method. | |
array | getParameters() Gets the request parameters. | |
array | getFiles() Gets the request server files. | |
array | getCookies() Gets the request cookies. | |
array | getServer() Gets the request server parameters. | |
string | getContent() Gets the request raw body data. |
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 |
Gets the request URI.
string | The request URI |
Gets the request HTTP method.
string | The request HTTP method |
Gets the request parameters.
array | The request parameters |
Gets the request server files.
array | The request files |
Gets the request cookies.
array | The request cookies |
Gets the request server parameters.
array | The request server parameters |
Gets the request raw body data.
string | The request raw body data |
© 2004–2017 Fabien Potencier
Licensed under the MIT License.
https://api.symfony.com/4.1/Symfony/Component/BrowserKit/Request.html