* * 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:----ogrKcGymgi8pFvIt7feeoIcV8wM75GwFEx7NK39DsPzS/WIs3giQ8tSrVXc2Z3OtUdJnoRi+uWfdZXiad4BpsUCPHVoMdfPVpZLe1AiZXV3Ug2brbOW7qSIZFDIa/4ftWxB32XLZaaBkmCeBSdiTuAGA1cAdT73ZatuUH+7anYojq1OC1ak3MMxt3LCmDUG7phxnCit0DxsONdBf39ofDpmmVe8CkH+URYn6v7SMJDdJ8Aswgl9tK3g+cV5e0hSjaAihgzvxR/vFsiUoYby0TYsBmKHLEhoJgYHvDyBpy6ajfU67k3ve0cbP+MxIIJa5NQljMk8/bXh+pcCJCNV2gU1rML72auGD7edThFAtIZsj53OWDd3//gYzpf/1aMpM4c7z+gfAnLhOvUov+0xsV87mL0xXFEJ5hTSRNDdblVmkWIr0pngq84sneXsHufEEUHJ04u1N9hsC8aMMpUkG/Lnx4JW6lDPgNIApKU1xkNuZjJidjjFcHi4bQJpXVV3FyvB8gfBYZiDQc0cj/LqZ6aPU2qoXOOe3WdDfiPblufOz9DcRLq+t66fSLBdULJAgRVLJz8gEMEKWytD5VutHTwy5BEHYOrXNAjXQFLj3PI5rGN4C6T8peoioUjU1+R/2WJDckdpxvriAnGECSfvoqqHP9LA4rbErYcgrg52fISE=----ATTACHMENT:----Nzg3MjYwNDAxMDcxNDQ0OSAzMTU5Mjg5NzcyMzI1NjkzIDU0MzQwODI0NTU3MTU0MTc=