laravel-websockets/src/Events/ChannelOccupied.php

21 lines
408 B
PHP

<?php
namespace BeyondCode\LaravelWebSockets\Events;
use Ratchet\ConnectionInterface;
class ChannelOccupied
{
/** @var \Ratchet\ConnectionInterface */
public $connection;
/** @var string */
public $channelId;
public function __construct(ConnectionInterface $connection, string $channelId)
{
$this->connection = $connection;
$this->channelId = $channelId;
}
}