<?php
/**
 * ------------------------ 
 *  版权所有  www.tecmz.com
 *  商业版本请购买正版授权使用
 * ------------------------
*/ namespace ModStart\Core\Provider; use ModStart\Core\Exception\BizException; use ModStart\Core\Util\FileUtil; class FontProvider { private static $list = array(DefaultFontProvider::class); use ProviderTrait; public static function firstLocalPathOrFail() { goto RWE6n; RWE6n: $geCFR = self::first(); goto WPgGH; he9dI: return FileUtil::savePathToLocalTemp($uxjWz, 'ttf', true); goto qXXZM; WPgGH: BizException::throwsIfEmpty('FontProvider Empty', $geCFR); goto acFln; acFln: $uxjWz = $geCFR->path(); goto he9dI; qXXZM: } }