PNAccessManagerGrantResult
extends PNAccessManagerAbstractResult
in package
Table of Contents
Properties
- $channelGroups : array<string|int, mixed>
- $channels : array<string|int, mixed>
- $deleteEnabled : bool
- $getEnabled : bool
- $joinEnabled : bool
- $level : string
- $manageEnabled : bool
- $readEnabled : bool
- $subscribeKey : string
- $ttl : int
- $updateEnabled : bool
- $users : array<string|int, mixed>
- $writeEnabled : bool
Methods
- __construct() : mixed
- PNAccessManagerAbstractResult constructor.
- __toString() : mixed
- fromJson() : mixed
- getChannelGroups() : array<string|int, PNAccessManagerChannelGroupData>
- getChannels() : array<string|int, PNAccessManagerChannelData>
- getLevel() : string
- getSubscribeKey() : string
- getTtl() : int
- getUsers() : array<string|int, PNAccessManagerChannelGroupData>
- isDeleteEnabled() : bool
- isGetEnabled() : bool
- isJoinEnabled() : bool
- isManageEnabled() : bool
- isReadEnabled() : bool
- isUpdateEnabled() : bool
- isWriteEnabled() : bool
Properties
$channelGroups
protected
array<string|int, mixed>
$channelGroups
$channels
protected
array<string|int, mixed>
$channels
$deleteEnabled
protected
bool
$deleteEnabled
$getEnabled
protected
bool
$getEnabled
$joinEnabled
protected
bool
$joinEnabled
$level
protected
string
$level
$manageEnabled
protected
bool
$manageEnabled
$readEnabled
protected
bool
$readEnabled
$subscribeKey
protected
string
$subscribeKey
$ttl
protected
int
$ttl
$updateEnabled
protected
bool
$updateEnabled
$users
protected
array<string|int, mixed>
$users
$writeEnabled
protected
bool
$writeEnabled
Methods
__construct()
PNAccessManagerAbstractResult constructor.
public
__construct(string $level, string $subscribeKey, array<string|int, mixed> $channels, array<string|int, mixed> $channelGroups, array<string|int, mixed> $users, int $ttl, bool $r, bool $w, bool $m, bool $d, bool $g, bool $u, bool $j) : mixed
Parameters
- $level : string
- $subscribeKey : string
- $channels : array<string|int, mixed>
- $channelGroups : array<string|int, mixed>
- $users : array<string|int, mixed>
- $ttl : int
- $r : bool
- $w : bool
- $m : bool
- $d : bool
- $g : bool
- $u : bool
- $j : bool
__toString()
public
__toString() : mixed
fromJson()
public
static fromJson(array<string|int, mixed> $jsonInput) : mixed
Parameters
- $jsonInput : array<string|int, mixed>
getChannelGroups()
public
getChannelGroups() : array<string|int, PNAccessManagerChannelGroupData>
Return values
array<string|int, PNAccessManagerChannelGroupData>getChannels()
public
getChannels() : array<string|int, PNAccessManagerChannelData>
Return values
array<string|int, PNAccessManagerChannelData>getLevel()
public
getLevel() : string
Return values
stringgetSubscribeKey()
public
getSubscribeKey() : string
Return values
stringgetTtl()
public
getTtl() : int
Return values
intgetUsers()
public
getUsers() : array<string|int, PNAccessManagerChannelGroupData>
Return values
array<string|int, PNAccessManagerChannelGroupData>isDeleteEnabled()
public
isDeleteEnabled() : bool
Return values
boolisGetEnabled()
public
isGetEnabled() : bool
Return values
boolisJoinEnabled()
public
isJoinEnabled() : bool
Return values
boolisManageEnabled()
public
isManageEnabled() : bool
Return values
boolisReadEnabled()
public
isReadEnabled() : bool
Return values
boolisUpdateEnabled()
public
isUpdateEnabled() : bool
Return values
boolisWriteEnabled()
public
isWriteEnabled() : bool