add event
This commit is contained in:
parent
ea44025e88
commit
ba1e33adca
|
|
@ -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;
|
||||||
|
}
|
||||||
|
}
|
||||||
Loading…
Reference in New Issue