<?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($LtXg9, $dtX0I, $fVt3n) { goto H3Wvp; plolS: $lefmL->uploadTable = $LtXg9; goto o5Dhz; o5Dhz: $lefmL->userId = $dtX0I; goto qvh3E; H3Wvp: $lefmL = new static(); goto plolS; hvLEO: EventUtil::fire($lefmL); goto nbqqF; qvh3E: $lefmL->category = $fVt3n; goto hvLEO; nbqqF: } public static function listen($LtXg9, $r1VBm) { Event::listen(DataUploadingEvent::class, function (DataUploadingEvent $lefmL) use($LtXg9, $r1VBm) { if ($lefmL->uploadTable == $LtXg9) { call_user_func($r1VBm, $lefmL); } }); } }