public function reset() { parent::reset(); $request = $this->request; $this->get = isset($request->get) ? $request->get : []; $this->post = isset($request->post) ? $request->post : []; $this->cookies = isset($request->cookie) ? $request->cookie : []; $this->server = isset($request->server) ? array_change_key_case($request->server, CASE_UPPER) : []; $this->headers = isset($request->header) ? $request->header : []; $_GET = $this->get; $_POST = $this->post; $_COOKIE = $this->cookies; $_SERVER = $this->server; }