for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace SwooleTW\Http\Websocket\Facades;
use Illuminate\Support\Facades\Facade;
/**
* @method static $this prepare()
* @method static $this add($fd, $rooms)
* @method static $this delete($fd, $rooms)
* @method static array getClients($room)
* @method static array getRooms($fd)
*
* @see \SwooleTW\Http\Websocket\Rooms\RoomContract
*/
class Room extends Facade
{
* Get the registered name of the component.
* @return string
protected static function getFacadeAccessor()
return 'swoole.room';
}