<?php
/**
 * ------------------------ 
 *  版权所有  www.tecmz.com
 *  商业版本请购买正版授权使用
 * ------------------------
*/ namespace Module\Vendor\Provider\Notifier; use Module\Vendor\Util\NoneLoginOperateUtil; class NotifierProvider { public static function all() { goto U37bb; U37bb: static $rNa_G = null; goto zmNQY; zmNQY: if (null === $rNa_G) { goto wa2hC; M4Pkh: if (empty($eovoR)) { $eovoR = array(DefaultNotifierProvider::class); } goto dcJSW; wa2hC: $eovoR = config('NotifierProviders'); goto M4Pkh; dcJSW: $rNa_G = array_map(function ($f0iES) { return app($f0iES); }, array_unique($eovoR)); goto KwNrC; KwNrC: } goto h0oiJ; h0oiJ: return $rNa_G; goto X03S8; X03S8: } public static function notify($qhsmj, $yP0KF, $n16LT, $qOrzw = array()) { foreach (self::all() as $ZO8gl) { $ZO8gl->notify($qhsmj, $yP0KF, $n16LT, $qOrzw); } } public static function notifyNoneLoginOperateProcessUrl($qhsmj, $yP0KF, $n16LT, $MI5mo, $qOrzw = array()) { goto J94sq; nHfME: self::notify($qhsmj, $yP0KF, $n16LT, array_merge($qOrzw, $EMz9e)); goto eCtOR; MBnU9: if ($MI5mo) { $idxaW = NoneLoginOperateUtil::generateUrl($MI5mo, $qOrzw, $EMz9e['domainUrl']); $EMz9e['processUrl'] = $idxaW; } goto nHfME; J94sq: $EMz9e = array('domainUrl' => null, 'viewUrl' => null); goto ER2h2; ER2h2: foreach ($EMz9e as $kEhTf => $y2Ltn) { if (isset($qOrzw[$kEhTf])) { $EMz9e[$kEhTf] = $qOrzw[$kEhTf]; unset($qOrzw[$kEhTf]); } } goto MBnU9; eCtOR: } }