Get all GET parameters from request object

There’s no way to get all GET params from a request object? Do they have to be fetched one by one, and by name? I’d like something like $request->getAllParams().

Reading the code, the answer is obviously no. :frowning: Maybe we’ll extend it locally, like:

public function getParams()
  return (array) $_GET;

Or better, getQueryParams as in Yii 2.