<?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($MTe4c, $ditAu, $NU9Ix, $q0RFp) { goto Fq1Q3; iuwNO: $zU3b7->userId = $ditAu; goto yvXKL; fB5al: $zU3b7->uploadTable = $MTe4c; goto iuwNO; k2cTE: EventUtil::fire($zU3b7); goto XQ08X; wZd2y: $zU3b7->dataId = $q0RFp; goto k2cTE; yvXKL: $zU3b7->category = $NU9Ix; goto wZd2y; Fq1Q3: $zU3b7 = new static(); goto fB5al; XQ08X: } public static function listen($MTe4c, $uTSeU) { Event::listen(DataUploadedEvent::class, function (DataUploadedEvent $zU3b7) use($MTe4c, $uTSeU) { if ($zU3b7->uploadTable == $MTe4c) { call_user_func($uTSeU, $zU3b7); } }); } }