session = \Config\Services::session(); $this->db = \Config\Database::connect(); $this->request = \Config\Services::request(); $this->session = session(); } }