<?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($wt8xl) { goto Wzym7; Wzym7: $uS8I4 = 'DynamicModel_' . $wt8xl; goto Z7yGW; Z7yGW: $cTFJ4 = '\\DynamicModel\\' . $uS8I4; goto RneoX; PZRfO: return new $cTFJ4(); goto FZBS4; RneoX: if (!class_exists($cTFJ4)) { goto lvHJX; v3B1R: if (!file_exists($aYJAK)) { $Afv_G = StubUtil::render('DynamicModel', array('className' => $uS8I4, 'table' => $wt8xl)); file_put_contents($aYJAK, $Afv_G); } goto ndmXp; lvHJX: $aYJAK = base_path('bootstrap/cache/' . $uS8I4 . '.php'); goto v3B1R; ndmXp: require $aYJAK; goto nSMcu; nSMcu: } goto PZRfO; FZBS4: } }