add event

This commit is contained in:
freek 2018-11-26 09:11:37 +01:00
parent ea44025e88
commit ba1e33adca
1 changed files with 19 additions and 0 deletions

View File

@ -0,0 +1,19 @@
<?php
namespace BeyondCode\LaravelWebSockets\Events;
class ChannelVacated
{
/** @var \BeyondCode\LaravelWebSockets\Events\ConnectionInterface */
protected $connection;
/** @var string */
protected $channelId;
public function __construct(ConnectionInterface $connection, string $channelId)
{
$this->connection = $connection;
$this->channelId = $channelId;
}
}