| @@ 255-262 (lines=8) @@ | ||
| 252 | * |
|
| 253 | * @return $this |
|
| 254 | */ |
|
| 255 | public function setServer($key, $value = null) |
|
| 256 | { |
|
| 257 | if (is_array($key)) { |
|
| 258 | $this->server = array_merge($this->server, $key); |
|
| 259 | } else { |
|
| 260 | $this->server[$key] = $value; |
|
| 261 | } |
|
| 262 | } |
|
| 263 | ||
| 264 | ||
| 265 | ||
| @@ 289-296 (lines=8) @@ | ||
| 286 | * |
|
| 287 | * @return $this |
|
| 288 | */ |
|
| 289 | public function setGet($key, $value = null) |
|
| 290 | { |
|
| 291 | if (is_array($key)) { |
|
| 292 | $this->get = array_merge($this->get, $key); |
|
| 293 | } else { |
|
| 294 | $this->get[$key] = $value; |
|
| 295 | } |
|
| 296 | } |
|
| 297 | ||
| 298 | ||
| 299 | ||