@@ 260-267 (lines=8) @@ | ||
257 | * |
|
258 | * @return $this |
|
259 | */ |
|
260 | public function setServer($key, $value = null) |
|
261 | { |
|
262 | if (is_array($key)) { |
|
263 | $this->server = array_merge($this->server, $key); |
|
264 | } else { |
|
265 | $this->server[$key] = $value; |
|
266 | } |
|
267 | } |
|
268 | ||
269 | ||
270 | ||
@@ 308-315 (lines=8) @@ | ||
305 | * |
|
306 | * @return $this |
|
307 | */ |
|
308 | public function setGet($key, $value = null) |
|
309 | { |
|
310 | if (is_array($key)) { |
|
311 | $this->get = array_merge($this->get, $key); |
|
312 | } else { |
|
313 | $this->get[$key] = $value; |
|
314 | } |
|
315 | } |
|
316 | ||
317 | ||
318 |