1 | <?php |
||
17 | class Cli implements RequestInterface |
||
18 | { |
||
19 | public function getUri() : UriInterface |
||
23 | |||
24 | public function getMethod() : string |
||
28 | |||
29 | public function getHeaders() |
||
33 | |||
34 | /** |
||
35 | * @param string $header |
||
36 | * |
||
37 | * @return bool |
||
38 | */ |
||
39 | public function hasHeader($header) |
||
43 | |||
44 | /** |
||
45 | * @param string $header Case-insensitive header field name. |
||
46 | * |
||
47 | * @return string[] An array of string values as provided for the given |
||
48 | * header. If the header does not appear in the message, this method MUST |
||
49 | * return an empty array. |
||
50 | */ |
||
51 | public function getHeader($header) |
||
55 |