<?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 MOvsU; dJJlR: $SIfp7 = $QsTug->path(); goto WTufj; ZOvyq: BizException::throwsIfEmpty('FontProvider Empty', $QsTug); goto dJJlR; MOvsU: $QsTug = self::first(); goto ZOvyq; WTufj: return FileUtil::savePathToLocalTemp($SIfp7, 'ttf', true); goto IKtPs; IKtPs: } }