123456789101112131415161718192021222324252627282930313233 |
- <?php
- namespace App\Events;
- use Illuminate\Queue\SerializesModels;
- use Illuminate\Foundation\Events\Dispatchable;
- use Illuminate\Broadcasting\InteractsWithSockets;
- use Illuminate\Support\Facades\Config;
- /**
- * 用户注销
- */
- class LogoutUser
- {
- use Dispatchable;
- use InteractsWithSockets;
- use SerializesModels;
- public $uid;
- public $stackGlobalConfig;
- /**
- * Create a new event instance.
- *
- * @param int $uid
- */
- public function __construct(int $uid)
- {
- $this->uid = $uid;
- $this->stackGlobalConfig = Config::all();
- }
- }
|