config = $config; $this->request = $request; self::$instance = $this; } public function get($key, $default = null) { return $this->config->get($key, $default); } public function set($key, $value) { return $this->config->set($key, $value); } public function setArray($array) { return $this->config->set($array); } public function getParams() { return $this->request->getParams(); } public function getParam($key, $default) { return $this->request->getParam($key, $default); } public function setParam($key, $value) { return $this->request->setParam($key, $value); } public function unsetParam($key) { return $this->request->unsetParam($key); } }