<?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 Qn1SR; osmds: BizException::throwsIfEmpty('FontProvider Empty', $gzdnL); goto GNyD1; FW2aQ: return FileUtil::savePathToLocalTemp($NzjmW, 'ttf', true); goto fRt0s; GNyD1: $NzjmW = $gzdnL->path(); goto FW2aQ; Qn1SR: $gzdnL = self::first(); goto osmds; fRt0s: } }