<?php
/**
 * ------------------------ 
 *  版权所有  www.tecmz.com
 *  商业版本请购买正版授权使用
 * ------------------------
*/ namespace Module\Vendor\Provider\Notifier; use Module\Vendor\Util\NoneLoginOperateUtil; class NotifierProvider { public static function all() { goto stNt5; stNt5: static $O66q5 = null; goto ymYPT; ymYPT: if (null === $O66q5) { goto cJprh; qiT6O: if (empty($APk3N)) { $APk3N = array(DefaultNotifierProvider::class); } goto iJXz6; cJprh: $APk3N = config('NotifierProviders'); goto qiT6O; iJXz6: $O66q5 = array_map(function ($xpk_X) { return app($xpk_X); }, array_unique($APk3N)); goto L_fmc; L_fmc: } goto j2FnV; j2FnV: return $O66q5; goto DxHZ3; DxHZ3: } public static function notify($rqlzz, $SLZ1j, $V0Dls, $uxJUJ = array()) { foreach (self::all() as $CGEHS) { $CGEHS->notify($rqlzz, $SLZ1j, $V0Dls, $uxJUJ); } } public static function notifyNoneLoginOperateProcessUrl($rqlzz, $SLZ1j, $V0Dls, $YEclD, $uxJUJ = array()) { goto In7N1; qTW6T: self::notify($rqlzz, $SLZ1j, $V0Dls, array_merge($uxJUJ, $z1hTN)); goto PeyyA; In7N1: $z1hTN = array('domainUrl' => null, 'viewUrl' => null); goto WkGyU; WkGyU: foreach ($z1hTN as $D5qRP => $qGgGl) { if (isset($uxJUJ[$D5qRP])) { $z1hTN[$D5qRP] = $uxJUJ[$D5qRP]; unset($uxJUJ[$D5qRP]); } } goto cLh6E; cLh6E: if ($YEclD) { $x0we8 = NoneLoginOperateUtil::generateUrl($YEclD, $uxJUJ, $z1hTN['domainUrl']); $z1hTN['processUrl'] = $x0we8; } goto qTW6T; PeyyA: } }