<?php
/**
 * ------------------------ 
 *  版权所有  www.tecmz.com
 *  商业版本请购买正版授权使用
 * ------------------------
*/ namespace ModStart\Core\Util; class StubUtil { public static function render($qsQD8, $vxnWf = array(), $hfMHR = null) { goto sUkQx; H9Gjv: $rFmqf = file_get_contents("{$hfMHR}/{$qsQD8}.stub"); goto HaJuj; KPRLM: return str_replace(array_keys($vxnWf), array_values($vxnWf), $rFmqf); goto iF9wg; sUkQx: if (null === $hfMHR) { $hfMHR = base_path('vendor/modstart/modstart/resources/stub'); } goto H9Gjv; HaJuj: $vxnWf = array_build($vxnWf, function ($kh68j, $tHq0l) { return array('${' . $kh68j . '}', $tHq0l); }); goto KPRLM; iF9wg: } }