class UserConnectionTerminator

Methods

__construct(ChannelManager $channels)

Create a new user connection terminator.

void
terminate(Application $application, string $userId)

Disconnect every local connection for the given user.

Details

at line 16
__construct(ChannelManager $channels)

Create a new user connection terminator.

Parameters

ChannelManager $channels

at line 24
void terminate(Application $application, string $userId)

Disconnect every local connection for the given user.

Parameters

Application $application
string $userId

Return Value

void