PNHereNowResult
in package
Table of Contents
Properties
- $channels : array<string|int, PNHereNowChannelData>
- $totalChannels : int
- $totalOccupancy : int
Methods
- __construct() : mixed
- __toString() : mixed
- fromJson() : mixed
- getChannels() : array<string|int, PNHereNowChannelData>
- getTotalChannels() : int
- getTotalOccupancy() : int
Properties
$channels
protected
array<string|int, PNHereNowChannelData>
$channels
$totalChannels
protected
int
$totalChannels
$totalOccupancy
protected
int
$totalOccupancy
Methods
__construct()
public
__construct(mixed $totalChannels, mixed $totalOccupancy, mixed $channels) : mixed
Parameters
- $totalChannels : mixed
- $totalOccupancy : mixed
- $channels : mixed
__toString()
public
__toString() : mixed
fromJson()
public
static fromJson(mixed $json, mixed $channelNames) : mixed
Parameters
- $json : mixed
- $channelNames : mixed
getChannels()
public
getChannels() : array<string|int, PNHereNowChannelData>
Return values
array<string|int, PNHereNowChannelData>getTotalChannels()
public
getTotalChannels() : int
Return values
intgetTotalOccupancy()
public
getTotalOccupancy() : int