@@ 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 | ||
@@ 294-301 (lines=8) @@ | ||
291 | * |
|
292 | * @return $this |
|
293 | */ |
|
294 | public function setGet($key, $value = null) |
|
295 | { |
|
296 | if (is_array($key)) { |
|
297 | $this->get = array_merge($this->get, $key); |
|
298 | } else { |
|
299 | $this->get[$key] = $value; |
|
300 | } |
|
301 | } |
|
302 | ||
303 | ||
304 |