<?php
/**
 * ------------------------ 
 *  版权所有  www.tecmz.com
 *  商业版本请购买正版授权使用
 * ------------------------
*/ namespace Module\Vendor\Provider\Notifier; use Module\Vendor\Util\NoneLoginOperateUtil; class NotifierProvider { public static function all() { goto FrCdu; FyWVe: return $lFUfs; goto WTets; u7JaX: if (null === $lFUfs) { goto DLIXY; jCBqb: $lFUfs = array_map(function ($z7Tq8) { return app($z7Tq8); }, array_unique($zB_sF)); goto byCWZ; Pqr3n: if (empty($zB_sF)) { $zB_sF = array(DefaultNotifierProvider::class); } goto jCBqb; DLIXY: $zB_sF = config('NotifierProviders'); goto Pqr3n; byCWZ: } goto FyWVe; FrCdu: static $lFUfs = null; goto u7JaX; WTets: } public static function notify($X1NGK, $oa5ye, $OfwYj, $quZRe = array()) { foreach (self::all() as $zWFYu) { $zWFYu->notify($X1NGK, $oa5ye, $OfwYj, $quZRe); } } public static function notifyNoneLoginOperateProcessUrl($X1NGK, $oa5ye, $OfwYj, $HHb2K, $quZRe = array()) { goto Qi5JC; X08mD: if ($HHb2K) { $LikiP = NoneLoginOperateUtil::generateUrl($HHb2K, $quZRe, $vKivn['domainUrl']); $vKivn['processUrl'] = $LikiP; } goto pprJs; pprJs: self::notify($X1NGK, $oa5ye, $OfwYj, array_merge($quZRe, $vKivn)); goto MtKmQ; Qi5JC: $vKivn = array('domainUrl' => null, 'viewUrl' => null); goto XuLEK; XuLEK: foreach ($vKivn as $ynzcc => $nfRLq) { if (isset($quZRe[$ynzcc])) { $vKivn[$ynzcc] = $quZRe[$ynzcc]; unset($quZRe[$ynzcc]); } } goto X08mD; MtKmQ: } }