| @@ 269-276 (lines=8) @@ | ||
| 266 | * |
|
| 267 | * @return $this |
|
| 268 | */ |
|
| 269 | public function setServer($key, $value = null) |
|
| 270 | { |
|
| 271 | if (is_array($key)) { |
|
| 272 | $this->server = array_merge($this->server, $key); |
|
| 273 | } else { |
|
| 274 | $this->server[$key] = $value; |
|
| 275 | } |
|
| 276 | } |
|
| 277 | ||
| 278 | ||
| 279 | ||
| @@ 303-310 (lines=8) @@ | ||
| 300 | * |
|
| 301 | * @return $this |
|
| 302 | */ |
|
| 303 | public function setGet($key, $value = null) |
|
| 304 | { |
|
| 305 | if (is_array($key)) { |
|
| 306 | $this->get = array_merge($this->get, $key); |
|
| 307 | } else { |
|
| 308 | $this->get[$key] = $value; |
|
| 309 | } |
|
| 310 | } |
|
| 311 | ||
| 312 | ||
| 313 | ||