Documentation

SubscribeBuilder extends PubSubBuilder
in package

Table of Contents

Properties

$channelGroupSubscriptions  : array<string|int, string>
$channelSubscriptions  : array<string|int, string>
$presenceEnabled  : bool
$subscriptionManager  : SubscriptionManager
$timetoken  : int

Methods

__construct()  : mixed
PubSubBuilder constructor.
channel()  : $this
Alias for channels method
channelGroup()  : $this
Alias for channelGroups method
channelGroups()  : $this
channels()  : $this
execute()  : mixed
withPresence()  : $this
withTimetoken()  : $this

Properties

$channelGroupSubscriptions

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

$channelSubscriptions

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

Methods

channel()

Alias for channels method

public channel(string|array<string|int, string> $channel) : $this
Parameters
$channel : string|array<string|int, string>
Return values
$this

channelGroup()

Alias for channelGroups method

public channelGroup(string|array<string|int, string> $channelGroup) : $this
Parameters
$channelGroup : string|array<string|int, string>
Return values
$this

channelGroups()

public channelGroups(string|array<string|int, string> $channelGroup) : $this
Parameters
$channelGroup : string|array<string|int, string>
Return values
$this

channels()

public channels(string|array<string|int, string> $channel) : $this
Parameters
$channel : string|array<string|int, string>
Return values
$this

withTimetoken()

public withTimetoken(int $timetoken) : $this
Parameters
$timetoken : int
Return values
$this

        
On this page

Search results