Documentation

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

Methods

__construct()

public __construct(mixed $totalChannels, mixed $totalOccupancy, mixed $channels) : mixed
Parameters
$totalChannels : mixed
$totalOccupancy : mixed
$channels : mixed

fromJson()

public static fromJson(mixed $json, mixed $channelNames) : mixed
Parameters
$json : mixed
$channelNames : mixed

getTotalChannels()

public getTotalChannels() : int
Return values
int

getTotalOccupancy()

public getTotalOccupancy() : int
Return values
int

        
On this page

Search results