Channel
Table of Contents
Methods
- createRandom() : Channel
- createWithFields() : Channel
- createWithTag() : Channel
- getDateCreate() : DateTime
- getId() : int|null
- getPrivateId() : string
- getPublicId() : string
- getShared() : Channel
- Returns Channel instance, suitable for sending to the shared channel.
- getSignedPublicId() : string
- getType() : string
- getUserId() : int|null
Methods
createRandom()
public
static createRandom() : Channel
Return values
ChannelcreateWithFields()
public
static createWithFields(array<string|int, mixed> $fields) : Channel
Parameters
- $fields : array<string|int, mixed>
Return values
ChannelcreateWithTag()
public
static createWithTag(string $tag) : Channel
Parameters
- $tag : string
Return values
ChannelgetDateCreate()
public
getDateCreate() : DateTime
Return values
DateTimegetId()
public
getId() : int|null
Return values
int|nullgetPrivateId()
public
getPrivateId() : string
Return values
stringgetPublicId()
public
getPublicId() : string
Return values
stringgetShared()
Returns Channel instance, suitable for sending to the shared channel.
public
static getShared() : Channel
Tags
Return values
ChannelgetSignedPublicId()
public
getSignedPublicId() : string
Return values
stringgetType()
public
getType() : string
Return values
stringgetUserId()
public
getUserId() : int|null