PHP Classes

File: app/Core/event-listeners.php

Recommend this page to a friend!
  Classes of Ahmad Mustapha   ReactPHP Chat Client   app/Core/event-listeners.php   Download  
File: app/Core/event-listeners.php
Role: Example script
Content type: text/plain
Description: Example script
Class: ReactPHP Chat Client
Implement a live chat system based on Web Sockets
Author: By
Last change:
Date: 3 years ago
Size: 150 bytes
 

Contents

Class file image Download
<?php
use App\Socket\Listeners\Chat\PublicChat\ChatListener;

event()->on('chat.public.removeUser', fn($client) => ChatListener::removeUser($client));