\ManiaControl\Callbacks\Structures\CommonBaseTimeStructure

Base Structure Class for all Callbacks using a Timestamp

Summary

Methods
Properties
Constants
__construct()
getPlainJsonObject()
getUsageInformation()
toJson()
getTime()
No public properties found
No constants found
No protected methods found
$maniaControl
$time
N/A
No private methods found
$plainJsonObject
N/A

Properties

$time

$time : 

Type

$plainJsonObject

$plainJsonObject : 

Type

Methods

__construct()

__construct(\ManiaControl\ManiaControl  $maniaControl,   $data) 

BaseResponseStructure constructor.

Parameters

\ManiaControl\ManiaControl $maniaControl
$data

getPlainJsonObject()

getPlainJsonObject() 

Gets the Plain Json

getUsageInformation()

getUsageInformation() 

Gets Information about the Class, and a List of the Public Method

toJson()

toJson() 

getTime()

getTime() : integer

Gets the Server Time the Callback was sent

Returns

integer —

Time since Serverstart