W3cubDocs

/Laravel 8

UsePusherChannelConventions

trait UsePusherChannelConventions (View source)

Methods

bool isGuardedChannel(string $channel)

Return true if channel is protected by authentication.

string normalizeChannelName(string $channel)

Remove prefix from channel name.

Details

bool isGuardedChannel(string $channel)

Return true if channel is protected by authentication.

Parameters

string $channel

Return Value

bool

string normalizeChannelName(string $channel)

Remove prefix from channel name.

Parameters

string $channel

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/Broadcasters/UsePusherChannelConventions.html