8use Psr\Http\Message\ServerRequestInterface;
25 $this->query_params = $request->getQueryParams();
34 if (!isset($this->query_params[
$name])) {
35 throw new \LogicException(
"'$name' is not contained in query parameters.");
38 return $this->query_params[
$name];
47 if (!isset($this->query_params[
$name])) {
51 return $this->query_params[
$name];
An exception for terminatinating execution or to throw for unit testing.