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