W3cubDocs

/Laravel 8

PrivateChannel

class PrivateChannel extends Channel (View source)

Properties

string $name The channel's name. from Channel

Methods

void __construct(string $name)

Create a new channel instance.

string __toString()

Convert the channel instance to a string.

from Channel

Details

void __construct(string $name)

Create a new channel instance.

Parameters

string $name

Return Value

void

string __toString()

Convert the channel instance to a string.

Return Value

string

© Taylor Otwell
Licensed under the MIT License.
Laravel is a trademark of Taylor Otwell.
https://laravel.com/api/8.x/Illuminate/Broadcasting/PrivateChannel.html