@@ 370-377 (lines=8) @@ | ||
367 | * |
|
368 | * @return mixed |
|
369 | */ |
|
370 | public function getGet($key = null, $default = null) |
|
371 | { |
|
372 | if ($key) { |
|
373 | return $this->get[$key] ?? $default; |
|
374 | } |
|
375 | ||
376 | return $this->get; |
|
377 | } |
|
378 | ||
379 | ||
380 | ||
@@ 410-417 (lines=8) @@ | ||
407 | * |
|
408 | * @return mixed |
|
409 | */ |
|
410 | public function getPost($key = null, $default = null) |
|
411 | { |
|
412 | if ($key) { |
|
413 | return $this->post[$key] ?? $default; |
|
414 | } |
|
415 | ||
416 | return $this->post; |
|
417 | } |
|
418 | ||
419 | ||
420 |