<?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($oAD_e) { goto HxfAg; dJ0nh: $MsA2r = '\\DynamicModel\\' . $vtWM8; goto mhudw; mhudw: if (!class_exists($MsA2r)) { goto ha11M; BRtLK: require $yHf3t; goto a5tYe; BUI5W: if (!file_exists($yHf3t)) { $cgjRu = StubUtil::render('DynamicModel', array('className' => $vtWM8, 'table' => $oAD_e)); file_put_contents($yHf3t, $cgjRu); } goto BRtLK; ha11M: $yHf3t = base_path('bootstrap/cache/' . $vtWM8 . '.php'); goto BUI5W; a5tYe: } goto VBFnS; HxfAg: $vtWM8 = 'DynamicModel_' . $oAD_e; goto dJ0nh; VBFnS: return new $MsA2r(); goto de3c0; de3c0: } }