<?php
/**
 * ------------------------ 
 *  版权所有  www.tecmz.com
 *  商业版本请购买正版授权使用
 * ------------------------
*/ namespace Module\Vendor\Provider\Notifier; use Module\Vendor\Util\NoneLoginOperateUtil; class NotifierProvider { public static function all() { goto CfuZ2; JuxV6: return $foXRD; goto fMEvK; wsHrw: if (null === $foXRD) { goto LGE4H; m04Rp: if (empty($xigYx)) { $xigYx = array(DefaultNotifierProvider::class); } goto NAp3v; NAp3v: $foXRD = array_map(function ($XKWl8) { return app($XKWl8); }, array_unique($xigYx)); goto Wurd0; LGE4H: $xigYx = config('NotifierProviders'); goto m04Rp; Wurd0: } goto JuxV6; CfuZ2: static $foXRD = null; goto wsHrw; fMEvK: } public static function notify($eV8cW, $BRqP6, $fKViA, $mzzZ3 = array()) { foreach (self::all() as $dmHFN) { $dmHFN->notify($eV8cW, $BRqP6, $fKViA, $mzzZ3); } } public static function notifyNoneLoginOperateProcessUrl($eV8cW, $BRqP6, $fKViA, $WpIZY, $mzzZ3 = array()) { goto UW0fS; Apo8g: foreach ($WSOvK as $d2HEV => $hf0nR) { if (isset($mzzZ3[$d2HEV])) { $WSOvK[$d2HEV] = $mzzZ3[$d2HEV]; unset($mzzZ3[$d2HEV]); } } goto J6z1o; nDCen: self::notify($eV8cW, $BRqP6, $fKViA, array_merge($mzzZ3, $WSOvK)); goto FkzcH; UW0fS: $WSOvK = array('domainUrl' => null, 'viewUrl' => null); goto Apo8g; J6z1o: if ($WpIZY) { $C0R3j = NoneLoginOperateUtil::generateUrl($WpIZY, $mzzZ3, $WSOvK['domainUrl']); $WSOvK['processUrl'] = $C0R3j; } goto nDCen; FkzcH: } }