\Vigas\StreamingPlatforms\ModelMedia

Abstract Class Media.

A media is either a game or a stream

Summary

Methods
Properties
Constants
getId()
getGame()
getViewers()
No public properties found
No constants found
No protected methods found
$id
$game
$viewers
$source
N/A
No private methods found
No private properties found
N/A

Properties

$id

$id : integer

Type

integer — The media id

$game

$game : string

Type

string — The game name

$viewers

$viewers : integer

Type

integer — The number of viewers

$source

$source : string

Type

string — The media's streaming platform

Methods

getId()

getId() : integer

Returns

integer —

Returns the media id

getGame()

getGame() : string

Returns

string —

Returns the game name

getViewers()

getViewers() : string

Returns

string —

Returns the number of viewers