| 1 | <?php |
||
| 16 | class ApiRequest extends Request |
||
| 17 | { |
||
| 18 | /** |
||
| 19 | * @param string $uri |
||
| 20 | * |
||
| 21 | * @return $this |
||
| 22 | */ |
||
| 23 | public function setUri($uri) |
||
| 29 | |||
| 30 | /** |
||
| 31 | * @param string $method |
||
| 32 | * |
||
| 33 | * @return $this |
||
| 34 | */ |
||
| 35 | public function setMethod($method) |
||
| 41 | |||
| 42 | /** |
||
| 43 | * @param array $parameters |
||
| 44 | * |
||
| 45 | * @return $this |
||
| 46 | */ |
||
| 47 | public function setParameters(array $parameters) |
||
| 53 | |||
| 54 | /** |
||
| 55 | * @param array $files |
||
| 56 | * |
||
| 57 | * @return $this |
||
| 58 | */ |
||
| 59 | public function setFiles(array $files) |
||
| 65 | |||
| 66 | /** |
||
| 67 | * @param array $cookies |
||
| 68 | * |
||
| 69 | * @return $this |
||
| 70 | */ |
||
| 71 | public function setCookies(array $cookies) |
||
| 77 | |||
| 78 | /** |
||
| 79 | * @param array $server |
||
| 80 | * |
||
| 81 | * @return $this |
||
| 82 | */ |
||
| 83 | public function setServer(array $server) |
||
| 89 | |||
| 90 | /** |
||
| 91 | * @param mixed $content |
||
| 92 | * |
||
| 93 | * @return $this |
||
| 94 | */ |
||
| 95 | public function setContent($content) |
||
| 101 | } |
||
| 102 |