page = $args['page']; unset($args['page']); } $this->get = $args; } // get public function get($key = false) { if (!$key) { return !empty($this->get) ? $this->get : []; } else { return isset($this->get[$key]) ? $this->get[$key] : null; } } // get page public function get_page() { return $this->page; } }