Documentation

PubSubBuilder
in package

AbstractYes

Table of Contents

Properties

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

Methods

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

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

        
On this page

Search results