EncryptedPrivateChannel.php
TLDR
This file defines the EncryptedPrivateChannel
class which extends the Channel
class in the Illuminate\Broadcasting
namespace.
Classes
EncryptedPrivateChannel
The EncryptedPrivateChannel
class represents an encrypted private channel for broadcasting. It extends the Channel
class and has a constructor that accepts a channel name and passes it to the parent class constructor after appending private-encrypted-
to the beginning of the name.
<?php
namespace Illuminate\Broadcasting;
class EncryptedPrivateChannel extends Channel
{
/**
* Create a new channel instance.
*
* @param string $name
* @return void
*/
public function __construct($name)
{
parent::__construct('private-encrypted-'.$name);
}
}