<?php
/**
 * ------------------------ 
 *  版权所有  www.tecmz.com
 *  商业版本请购买正版授权使用
 * ------------------------
*/ namespace ModStart\Data\Event; use Illuminate\Support\Facades\Event; use ModStart\Core\Util\EventUtil; class DataUploadingEvent { public $uploadTable; public $userId; public $category; public static function fire($LedtM, $mi5uH, $FVUIh) { goto pQrcy; OxWUz: $BHEro->userId = $mi5uH; goto R9drm; R9drm: $BHEro->category = $FVUIh; goto Fe2HV; pQrcy: $BHEro = new static(); goto O3CB0; Fe2HV: EventUtil::fire($BHEro); goto LOYIy; O3CB0: $BHEro->uploadTable = $LedtM; goto OxWUz; LOYIy: } public static function listen($LedtM, $yeJzO) { Event::listen(DataUploadingEvent::class, function (DataUploadingEvent $BHEro) use($LedtM, $yeJzO) { if ($BHEro->uploadTable == $LedtM) { call_user_func($yeJzO, $BHEro); } }); } }