Linux unitednationsplay.com 3.10.0-1160.45.1.el7.x86_64 #1 SMP Wed Oct 13 17:20:51 UTC 2021 x86_64
nginx/1.20.1
Server IP : 188.130.139.92 & Your IP : 18.189.3.134
Domains :
Cant Read [ /etc/named.conf ]
User : web
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
home /
www /
unp /
app /
Events /
Delete
Unzip
Name
Size
Permission
Date
Action
MessageSent.php
1.18
KB
-rw-r--r--
2021-05-21 10:39
Save
Rename
<?php namespace App\Events; use App\User; use App\Message; use App\Conversation; use Illuminate\Broadcasting\Channel; use Illuminate\Queue\SerializesModels; use Illuminate\Broadcasting\PrivateChannel; use Illuminate\Broadcasting\PresenceChannel; use Illuminate\Foundation\Events\Dispatchable; use Illuminate\Broadcasting\InteractsWithSockets; use Illuminate\Contracts\Broadcasting\ShouldBroadcast; class MessageSent implements ShouldBroadcast { use Dispatchable, InteractsWithSockets, SerializesModels; /** * User that sent the message * * @var \App\User */ public $user; /** * Message details * * @var \App\Message */ public $message; /** * Create a new event instance. * * @return void */ public function __construct(User $user, Message $message, Conversation $conversation) { $this->user = $user; $this->message = $message; $this->conversation = $conversation; } /** * Get the channels the event should broadcast on. * * @return Channel|array */ public function broadcastOn() { return new PresenceChannel('user.'.$this->user->id); } }