<?php
/**
 * ------------------------ 
 *  版权所有  www.tecmz.com
 *  商业版本请购买正版授权使用
 * ------------------------
*/ namespace ModStart\Core\Util; class StubUtil { public static function render($fWBvH, $XZNiG = array(), $GX8Uz = null) { goto WxN7s; UmFhd: $ohNZt = file_get_contents("{$GX8Uz}/{$fWBvH}.stub"); goto vE5ak; vE5ak: $XZNiG = array_build($XZNiG, function ($F_a6B, $JiRHR) { return array('${' . $F_a6B . '}', $JiRHR); }); goto sApAB; WxN7s: if (null === $GX8Uz) { $GX8Uz = base_path('vendor/modstart/modstart/resources/stub'); } goto UmFhd; sApAB: return str_replace(array_keys($XZNiG), array_values($XZNiG), $ohNZt); goto HVZGj; HVZGj: } }