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

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.