public function __construct() { $this->db = Database::getInstance(); $this->request = new Request(); $this->session = new Session(); $this->cookie = new Cookie(); $this->user = new UserModel(); $this->identity = new Identity(); }
public function __construct() { $this->dbh = Database::getInstance()->getConn(); }