<?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 xLZxe; xLZxe: $reHGq = self::first(); goto EJyAt; lqixb: $VU9mn = $reHGq->path(); goto SVJ07; EJyAt: BizException::throwsIfEmpty('FontProvider Empty', $reHGq); goto lqixb; SVJ07: return FileUtil::savePathToLocalTemp($VU9mn, 'ttf', true); goto enGtn; enGtn: } }