<?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($RQIcB, $VacnY, $PW0Jg) { goto zwieA; DnM6t: EventUtil::fire($jV_Lj); goto r3psn; S7LZe: $jV_Lj->userId = $VacnY; goto gKKtu; gKKtu: $jV_Lj->category = $PW0Jg; goto DnM6t; zwieA: $jV_Lj = new static(); goto rN3Z0; rN3Z0: $jV_Lj->uploadTable = $RQIcB; goto S7LZe; r3psn: } public static function listen($RQIcB, $liNDm) { Event::listen(DataUploadingEvent::class, function (DataUploadingEvent $jV_Lj) use($RQIcB, $liNDm) { if ($jV_Lj->uploadTable == $RQIcB) { call_user_func($liNDm, $jV_Lj); } }); } }