| @@ 301-309 (lines=9) @@ | ||
| 298 | * |
|
| 299 | * @return self |
|
| 300 | */ |
|
| 301 | public function setServer($key, $value = null) |
|
| 302 | { |
|
| 303 | if (is_array($key)) { |
|
| 304 | $this->server = array_merge($this->server, $key); |
|
| 305 | } else { |
|
| 306 | $this->server[$key] = $value; |
|
| 307 | } |
|
| 308 | return $this; |
|
| 309 | } |
|
| 310 | ||
| 311 | ||
| 312 | ||
| @@ 336-344 (lines=9) @@ | ||
| 333 | * |
|
| 334 | * @return self |
|
| 335 | */ |
|
| 336 | public function setGet($key, $value = null) |
|
| 337 | { |
|
| 338 | if (is_array($key)) { |
|
| 339 | $this->get = array_merge($this->get, $key); |
|
| 340 | } else { |
|
| 341 | $this->get[$key] = $value; |
|
| 342 | } |
|
| 343 | return $this; |
|
| 344 | } |
|
| 345 | ||
| 346 | ||
| 347 | ||