class Channel implements Stringable (View source)

Properties

string $name

The channel's name.

Methods

__construct(HasBroadcastChannel|string $name)

Create a new channel instance.

string
__toString()

Convert the channel instance to a string.

Details

__construct(HasBroadcastChannel|string $name)

Create a new channel instance.

Parameters

HasBroadcastChannel|string $name

string __toString()

Convert the channel instance to a string.

Return Value

string

Laravel Cloud is the best place to deploy Laravel, Nuxt, Express, Hono, Node.js, Bun, Go, Flask, Python, and more, with dedicated infrastructure available on AWS through Laravel Private Cloud.