<?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 UgQe0; UgQe0: $RMN4M = self::first(); goto z9SgC; P8ooU: $LFgQL = $RMN4M->path(); goto KF_0s; KF_0s: return FileUtil::savePathToLocalTemp($LFgQL, 'ttf', true); goto FXFUc; z9SgC: BizException::throwsIfEmpty('FontProvider Empty', $RMN4M); goto P8ooU; FXFUc: } }