PNChannelMetadata
in package
implements
JsonSerializable
Table of Contents
Interfaces
- JsonSerializable
Properties
- $custom : array<string|int, mixed>
- $description : string
- $id : string
- $name : string
Methods
- __construct() : mixed
- PNChannelMetadata constructor.
- getCustom() : array<string|int, mixed>
- getDescription() : string
- getId() : string
- getName() : string
- jsonSerialize() : mixed
Properties
$custom
protected
array<string|int, mixed>
$custom
$description
protected
string
$description
$id
protected
string
$id
$name
protected
string
$name
Methods
__construct()
PNChannelMetadata constructor.
public
__construct(string $id, string $name, string $description, array<string|int, mixed> $custom) : mixed
Parameters
- $id : string
- $name : string
- $description : string
- $custom : array<string|int, mixed>
getCustom()
public
getCustom() : array<string|int, mixed>
Return values
array<string|int, mixed>getDescription()
public
getDescription() : string
Return values
stringgetId()
public
getId() : string
Return values
stringgetName()
public
getName() : string
Return values
stringjsonSerialize()
public
jsonSerialize() : mixed