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