src/Mvc/Util/RequestParser.php
private static function parseGetPostSessionCookie(Request &$request)
    {
        foreach ($_GET as $name => $value) {
            $request->params[$name] = $value;
        }
        foreach ($_POST as $name => $value) {
            $request->params[$name] = $value;
        }
        foreach ($_COOKIE as $name => $value) {
            $request->params[$name] = $value;
        }
        foreach ($_FILES as $name => $value) {
            $request->params[$name] = $value;
        }
        if (isset($_SESSION)) {
            foreach ($_SESSION as $name => $value) {
                $request->params[$name] = $value;
            }
        }
    }
private static function parseGetPostSessionCookie(Request &$request)
    {
        foreach ($_GET as $name => $value) {
            $request->params[$name] = $value;
        }
        foreach ($_POST as $name => $value) {
            $request->params[$name] = $value;
        }
        foreach ($_COOKIE as $name => $value) {
            $request->params[$name] = $value;
        }
        foreach ($_FILES as $name => $value) {
            $request->params[$name] = $value;
        }
        if (isset($_SESSION)) {
            foreach ($_SESSION as $name => $value) {
                $request->params[$name] = $value;
            }
        }
    }
Parse the super globals for request parameters

@param Request $request
Request object to put the parameters in