Summary Files Commits Branches @commit @diff @stats
path: root / src / models / DBModel.php
blob: 69804469e7d0fe076becf01536ad6fee77840b8c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
<?php
include_once("DB.php");

abstract class DBModel {
	protected static DB $DB;

	public static function __constructStatic() {
		self::$DB = new DB();
	}
}

DBModel::__constructStatic();