19 declare(strict_types=1);
36 $this->query_params = $request->getQueryParams();
42 public function get(
string $name)
44 if (!isset($this->query_params[
$name])) {
45 throw new LogicException(
"'$name' is not contained in query parameters.");
48 return $this->query_params[
$name];
56 if (!isset($this->query_params[$name])) {
60 return $this->query_params[
$name];
68 return array_key_exists(
$name, $this->query_params);