abstract
This commit is contained in:
parent
b39c293b97
commit
1a5db6340c
|
@ -32,11 +32,7 @@ abstract class BaseModel {
|
||||||
get_called_class());
|
get_called_class());
|
||||||
}
|
}
|
||||||
|
|
||||||
private static function Initialize() {
|
abstract private static function Initialize();
|
||||||
if (self::$sql === null) {
|
|
||||||
throw new Exception('sql not inited');
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
class JobSql implements ISqlBase {
|
class JobSql implements ISqlBase {
|
||||||
|
|
Loading…
Reference in New Issue