<?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($TRSj3, $woaCs, $IaATa, $S0eG7) { goto E529r; MsnHO: EventUtil::fire($h_uF5); goto AzHfA; kw1sZ: $h_uF5->category = $IaATa; goto kucF1; LGZ0h: $h_uF5->uploadTable = $TRSj3; goto Zbecg; E529r: $h_uF5 = new static(); goto LGZ0h; kucF1: $h_uF5->dataId = $S0eG7; goto MsnHO; Zbecg: $h_uF5->userId = $woaCs; goto kw1sZ; AzHfA: } public static function listen($TRSj3, $Yzz3F) { Event::listen(DataUploadedEvent::class, function (DataUploadedEvent $h_uF5) use($TRSj3, $Yzz3F) { if ($h_uF5->uploadTable == $TRSj3) { call_user_func($Yzz3F, $h_uF5); } }); } }