<?php
/**
 * ------------------------ 
 *  版权所有  www.tecmz.com
 *  商业版本请购买正版授权使用
 * ------------------------
*/ namespace ModStart\Data\Event; use Illuminate\Support\Facades\Event; use ModStart\Core\Util\EventUtil; class DataUploadedEvent { public $uploadTable; public $userId; public $category; public $dataId; public static function fire($LedtM, $mi5uH, $FVUIh, $qvobN) { goto Lxhc2; Y3dQ9: $BHEro->dataId = $qvobN; goto Ab8_5; Ab8_5: EventUtil::fire($BHEro); goto WzElT; Lxhc2: $BHEro = new static(); goto NcHu5; OtcZ4: $BHEro->category = $FVUIh; goto Y3dQ9; UtHHp: $BHEro->userId = $mi5uH; goto OtcZ4; NcHu5: $BHEro->uploadTable = $LedtM; goto UtHHp; WzElT: } public static function listen($LedtM, $yeJzO) { Event::listen(DataUploadedEvent::class, function (DataUploadedEvent $BHEro) use($LedtM, $yeJzO) { if ($BHEro->uploadTable == $LedtM) { call_user_func($yeJzO, $BHEro); } }); } }