@@ 303-311 (lines=9) @@ | ||
300 | * |
|
301 | * @return self |
|
302 | */ |
|
303 | public function setServer($key, $value = null) |
|
304 | { |
|
305 | if (is_array($key)) { |
|
306 | $this->server = array_merge($this->server, $key); |
|
307 | } else { |
|
308 | $this->server[$key] = $value; |
|
309 | } |
|
310 | return $this; |
|
311 | } |
|
312 | ||
313 | ||
314 | ||
@@ 352-360 (lines=9) @@ | ||
349 | * |
|
350 | * @return self |
|
351 | */ |
|
352 | public function setGet($key, $value = null) |
|
353 | { |
|
354 | if (is_array($key)) { |
|
355 | $this->get = array_merge($this->get, $key); |
|
356 | } else { |
|
357 | $this->get[$key] = $value; |
|
358 | } |
|
359 | return $this; |
|
360 | } |
|
361 | ||
362 | ||
363 |