W3cubDocs

/Laravel 8

Channel

class Channel (View source)

Properties

string $name The channel's name.

Methods

void __construct(string $name)

Create a new channel instance.

string __toString()

Convert the channel instance to a string.

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/Channel.html