Documentation

StateManager
in package

Table of Contents

Properties

$channelGroups  : mixed
$channels  : array<string|int, mixed>
$presenceChannelGroups  : mixed
$presenceChannels  : mixed
$pubnub  : PubNub

Methods

__construct()  : mixed
ListenerManager constructor.
adaptSubscribeBuilder()  : mixed
adaptUnsubscribeBuilder()  : mixed
isEmpty()  : mixed
prepareChannelGroupList()  : array<string|int, string>
prepareChannelList()  : array<string|int, string>
prepareMembershipList()  : array<string|int, string>

Properties

$channels

protected array<string|int, mixed> $channels = []

$presenceChannelGroups

protected mixed $presenceChannelGroups = []

$presenceChannels

protected mixed $presenceChannels = []

Methods

prepareChannelGroupList()

public prepareChannelGroupList(bool $includePresence) : array<string|int, string>
Parameters
$includePresence : bool
Return values
array<string|int, string>

prepareChannelList()

public prepareChannelList(bool $includePresence) : array<string|int, string>
Parameters
$includePresence : bool
Return values
array<string|int, string>

prepareMembershipList()

private prepareMembershipList(array<string|int, mixed> $dataStorage, array<string|int, mixed> $presenceStorage, bool $includePresence) : array<string|int, string>
Parameters
$dataStorage : array<string|int, mixed>
$presenceStorage : array<string|int, mixed>
$includePresence : bool
Return values
array<string|int, string>

        
On this page

Search results