<?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($QSZ4G, $i4U0a, $W8QzG, $Pha7h) { goto kx13s; lPkGZ: $fPCm9->category = $W8QzG; goto Pqn0X; igzW3: $fPCm9->userId = $i4U0a; goto lPkGZ; PsOPX: EventUtil::fire($fPCm9); goto EkFSM; kx13s: $fPCm9 = new static(); goto GREtH; GREtH: $fPCm9->uploadTable = $QSZ4G; goto igzW3; Pqn0X: $fPCm9->dataId = $Pha7h; goto PsOPX; EkFSM: } public static function listen($QSZ4G, $aCnQE) { Event::listen(DataUploadedEvent::class, function (DataUploadedEvent $fPCm9) use($QSZ4G, $aCnQE) { if ($fPCm9->uploadTable == $QSZ4G) { call_user_func($aCnQE, $fPCm9); } }); } }