Файл: vendor/laravel/framework/src/Illuminate/Broadcasting/PrivateChannel.php
Строк: 44
<?php
namespace IlluminateBroadcasting;
use IlluminateContractsBroadcastingHasBroadcastChannel;
class PrivateChannel extends Channel
{
/**
* Create a new channel instance.
*
* @param IlluminateContractsBroadcastingHasBroadcastChannel|string $name
* @return void
*/
public function __construct($name)
{
$name = $name instanceof HasBroadcastChannel ? $name->broadcastChannel() : $name;
parent::__construct('private-'.$name);
}
}