class VolumeChannel extends PrivateChannel

Properties

Volume $volume

The volume of this channel.

Methods

void
__construct(Volume $volume)

Create a new channel instance.

bool
join(User $user, int $id)

Authenticate the user's access to the channel.

Details

at line 24
void __construct(Volume $volume)

Create a new channel instance.

Parameters

Volume $volume

Return Value

void

at line 38
bool join(User $user, int $id)

Authenticate the user's access to the channel.

Parameters

User $user
int $id

Volume ID

Return Value

bool