class Channel implements Stringable (View source)

Properties

string $name

The channel's name.

Methods

void
__construct(HasBroadcastChannel|string $name)

Create a new channel instance.

string
__toString()

Convert the channel instance to a string.

Details

void __construct(HasBroadcastChannel|string $name)

Create a new channel instance.

Parameters

HasBroadcastChannel|string $name

Return Value

void

string __toString()

Convert the channel instance to a string.

Return Value

string