| 1 |
<?php |
| 2 |
|
| 3 |
namespace Psr\Http\Message; |
| 4 |
|
| 5 |
interface RequestInterface extends MessageInterface |
| 6 |
{ |
| 7 |
public function getRequestTarget(): string; |
| 8 |
|
| 9 |
public function withRequestTarget(string $requestTarget): RequestInterface; |
| 10 |
|
| 11 |
|
| 12 |
public function getMethod(): string; |
| 13 |
|
| 14 |
public function withMethod(string $method): RequestInterface; |
| 15 |
|
| 16 |
public function getUri(): UriInterface; |
| 17 |
|
| 18 |
public function withUri(UriInterface $uri, bool $preserveHost = false): RequestInterface; |
| 19 |
} |
| 20 |
|