<?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($wyCKK) { goto XDU0R; XDU0R: $S0esq = 'DynamicModel_' . $wyCKK; goto bvg1A; wqFlm: if (!class_exists($UfDw1)) { goto yMdm4; yMdm4: $Jtt5u = base_path('bootstrap/cache/' . $S0esq . '.php'); goto tcZFV; wcGd8: require $Jtt5u; goto kVdh4; tcZFV: if (!file_exists($Jtt5u)) { $BWI89 = StubUtil::render('DynamicModel', array('className' => $S0esq, 'table' => $wyCKK)); file_put_contents($Jtt5u, $BWI89); } goto wcGd8; kVdh4: } goto QUWwC; QUWwC: return new $UfDw1(); goto zcT8f; bvg1A: $UfDw1 = '\\DynamicModel\\' . $S0esq; goto wqFlm; zcT8f: } }