123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117 |
- <?php
- namespace Symfony\Component\BrowserKit;
- class Request
- {
- protected $uri;
- protected $method;
- protected $parameters;
- protected $files;
- protected $cookies;
- protected $server;
- protected $content;
-
- public function __construct(string $uri, string $method, array $parameters = [], array $files = [], array $cookies = [], array $server = [], string $content = null)
- {
- $this->uri = $uri;
- $this->method = $method;
- $this->parameters = $parameters;
- $this->files = $files;
- $this->cookies = $cookies;
- $this->server = $server;
- $this->content = $content;
- }
-
- public function getUri()
- {
- return $this->uri;
- }
-
- public function getMethod()
- {
- return $this->method;
- }
-
- public function getParameters()
- {
- return $this->parameters;
- }
-
- public function getFiles()
- {
- return $this->files;
- }
-
- public function getCookies()
- {
- return $this->cookies;
- }
-
- public function getServer()
- {
- return $this->server;
- }
-
- public function getContent()
- {
- return $this->content;
- }
- }
|