<?php
/**
 * ------------------------ 
 *  版权所有  www.tecmz.com
 *  商业版本请购买正版授权使用
 * ------------------------
*/ namespace ModStart\Core\Dao; use Illuminate\Database\Eloquent\Model; use ModStart\Core\Util\FileUtil; use ModStart\Core\Util\StubUtil; class DynamicModel extends Model { public static function make($I1hTb) { goto xMCpa; tn1pP: if (!class_exists($StsmC)) { goto e2zJ3; e2zJ3: $oU8qf = base_path('bootstrap/cache/' . $Myw9a . '.php'); goto PIxSz; PIxSz: if (!file_exists($oU8qf)) { $xMSF0 = StubUtil::render('DynamicModel', array('className' => $Myw9a, 'table' => $I1hTb)); file_put_contents($oU8qf, $xMSF0); } goto YhqWs; YhqWs: require $oU8qf; goto K_Lce; K_Lce: } goto U5FI6; U5FI6: return new $StsmC(); goto mpoMV; xMCpa: $Myw9a = 'DynamicModel_' . $I1hTb; goto JGcPK; JGcPK: $StsmC = '\\DynamicModel\\' . $Myw9a; goto tn1pP; mpoMV: } }