<?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($tkusQ) { goto OILnV; z_bzp: return new $GgiJ8(); goto cvdtU; DUSDy: if (!class_exists($GgiJ8)) { goto ifgMB; U0Zsq: if (!file_exists($sCmIC)) { $LTC5O = StubUtil::render('DynamicModel', array('className' => $QMs0F, 'table' => $tkusQ)); file_put_contents($sCmIC, $LTC5O); } goto t69YV; t69YV: require $sCmIC; goto u4q3Z; ifgMB: $sCmIC = base_path('bootstrap/cache/' . $QMs0F . '.php'); goto U0Zsq; u4q3Z: } goto z_bzp; wn1VT: $GgiJ8 = '\\DynamicModel\\' . $QMs0F; goto DUSDy; OILnV: $QMs0F = 'DynamicModel_' . $tkusQ; goto wn1VT; cvdtU: } }