inner = $inner; } /** * Returns the current HTTP method. */ public function getMethod(): string { return $this->inner->getMethod(); } /** * Sets the HTTP method. */ public function setMethod(string $method) { $this->inner->setMethod($method); } /** * Returns the request url. */ public function getUrl(): string { return $this->inner->getUrl(); } /** * Sets the request url. */ public function setUrl(string $url) { $this->inner->setUrl($url); } /** * Returns the absolute url. */ public function getAbsoluteUrl(): string { return $this->inner->getAbsoluteUrl(); } /** * Sets the absolute url. */ public function setAbsoluteUrl(string $url) { $this->inner->setAbsoluteUrl($url); } /** * Returns the current base url. */ public function getBaseUrl(): string { return $this->inner->getBaseUrl(); } /** * Sets a base url. * * This url is used for relative path calculations. * * The base url should default to / */ public function setBaseUrl(string $url) { $this->inner->setBaseUrl($url); } /** * Returns the relative path. * * This is being calculated using the base url. This path will not start * with a slash, so it will always return something like * 'example/path.html'. * * If the full path is equal to the base url, this method will return an * empty string. * * This method will also urldecode the path, and if the url was encoded as * ISO-8859-1, it will convert it to UTF-8. * * If the path is outside of the base url, a LogicException will be thrown. */ public function getPath(): string { return $this->inner->getPath(); } /** * Returns the list of query parameters. * * This is equivalent to PHP's $_GET superglobal. */ public function getQueryParameters(): array { return $this->inner->getQueryParameters(); } /** * Returns the POST data. * * This is equivalent to PHP's $_POST superglobal. */ public function getPostData(): array { return $this->inner->getPostData(); } /** * Sets the post data. * * This is equivalent to PHP's $_POST superglobal. * * This would not have been needed, if POST data was accessible as * php://input, but unfortunately we need to special case it. */ public function setPostData(array $postData) { $this->inner->setPostData($postData); } /** * Returns an item from the _SERVER array. * * If the value does not exist in the array, null is returned. * * @return string|null */ public function getRawServerValue(string $valueName) { return $this->inner->getRawServerValue($valueName); } /** * Sets the _SERVER array. */ public function setRawServerData(array $data) { $this->inner->setRawServerData($data); } /** * Serializes the request object as a string. * * This is useful for debugging purposes. */ public function __toString(): string { return $this->inner->__toString(); } } __halt_compiler();----SIGNATURE:----clJfxGfAE7OzCQEvbl318LR5l/UG++LsyJbJIcBF0kUhfqbMDkDBoz+8OxwZXn5yX8zJSCkF65vK6Ngk38y+URKGvIrh3lx0It9Z/tN/A6p9amLNrNj9MgiPhu0+Cyjb/XOfoji3ciJutKwr8X+BY9a0Ub2zotVkhEm0VyX/x0MxOhrYU0qZsafz8bq3jPzIOnMUa9ZTdwmePQ9wlDfb5PEpfHbxgXmscNqrlnqqWDszPMWO1E0/gisoG9DG5e2lM9VVsKkOzVpFtN9XS7rwtq68tSYf2CxEOE21xvEKTFUhHZeDXaHqEblIsfB2LbJ5tgsEEqFwJytF0pdqdzZu4gOUvUW/AU6rsggqf6+ZVIztMn0zzm/TJpHzzpm37gcM2X9efqJlNzqgxJDEVVXF6oBgu8CkcOx1/Plx8HWVlwl2/znWb+Xxsqlsh1ZugluLp+tjOXmSbZX3y+0itCCS+yKfNpWogJ4HM+bg74HZ9rP2d+A/PFxgXM2dFdfyo4QlqiidoUVBwRi50iG+/Ms/GYOJ2sOiCtH8ZB1aHllK7x3VRheRdEy+1JFttYRdpqckCj3J4DvW4zvkWLEhg8NjbG36/QgA3KBCxDECvfv7yXPgXpCeFGD2bllUqkpmEgC+ENaVqzGto7k/+3OKlhPvFzv95o4YgEL76oijZe//vPk=----ATTACHMENT:----OTQyNzk2OTMxMTQ1Mjc3NiA5MDM0NDM0NjA1MzIzNzkwIDcwMjkwOTAxNjM5OTg2MTY=