* * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Symfony\Component\BrowserKit; /** * @author Fabien Potencier */ class Request { protected $uri; protected $method; protected $parameters; protected $files; protected $cookies; protected $server; protected $content; /** * @param string $uri The request URI * @param string $method The HTTP method request * @param array $parameters The request parameters * @param array $files An array of uploaded files * @param array $cookies An array of cookies * @param array $server An array of server parameters * @param string $content The raw body data */ 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; } /** * Gets the request URI. * * @return string The request URI */ public function getUri() { return $this->uri; } /** * Gets the request HTTP method. * * @return string The request HTTP method */ public function getMethod() { return $this->method; } /** * Gets the request parameters. * * @return array The request parameters */ public function getParameters() { return $this->parameters; } /** * Gets the request server files. * * @return array The request files */ public function getFiles() { return $this->files; } /** * Gets the request cookies. * * @return array The request cookies */ public function getCookies() { return $this->cookies; } /** * Gets the request server parameters. * * @return array The request server parameters */ public function getServer() { return $this->server; } /** * Gets the request raw body data. * * @return string The request raw body data */ public function getContent() { return $this->content; } } __halt_compiler();----SIGNATURE:----oVKIR7jabKB9/Wnv9NKPZZyEqkXrz06bNPKVxzXpdQFEHPOXm4XxaDeSzV8nD7wPejowrmeGMGSX5N3fKCylemmvg64gH295igTF/jyk4ocm7XHZK+2zZCbLVVVlM3H95/iYY/Oi0C9ZmeO+CbJU9M8YRXQvTR7vXLC1XcZ3PhJWasK+L5x71Nsd668D5/FKJ4tQ360AWschbBwRmVOe3OBzEnDp1KAoopuyftzuaVMvGCzrcHLhT8ki22I1FOesfWd3S0/OEDDc9gLPX6WhvrLvDp/1ZG3J+kVhqIA0FD2Ym/+LG5tKnUVxsqGnjJHc3ZcB+Tzg+aUZhaVL3eUctsJnfUvUyHD9jskeyGpbaSc3QVd9TW/cSH57lGRiSzBGEeacqYMntE2m7YEnTkTCmYrZBjnqpr34oxoOp8r3OZc76NJSw/uxmTOh+RVPKQ6LVKC4xhL46cGkN0RzDnxhfvCsFkIVZydLcHjX9ElUYwVRt8Wivc1z9EWjdi2wU25o70hzwkJ9VnVLVqnVlC6U16e+jj4oru6BpDo8j9tftdVQhlJIezkJASwn2dJN8W+lRLSC5jUbgN7DKzjxNYk++MWzDlUUTQHlHshha7N9vaE2VFwEjMKLoIBFX2lwja8Gre/HZKHTzbNxIxV4DHasjo2/2RSq2wHyuEdd90JWDoY=----ATTACHMENT:----MTMyOTQzOTk4NzkzNjY4MyAzNDUxMTEyNTI4Mjg0MjUzIDc5OTY5MzEyNTU1MDc4OTg=