class UserChannel extends PrivateChannel

Properties

User $user

The user of this channel.

Methods

void
__construct(User $user)

Create a new channel instance.

bool
join(User $user, int $id)

Authenticate the user's access to the channel.

Details

at line 23
void __construct(User $user)

Create a new channel instance.

Parameters

User $user

Return Value

void

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

Authenticate the user's access to the channel.

Parameters

User $user
int $id

Return Value

bool