DateTime
in package
Table of Contents
- $navigation : mixed
- $request : mixed
- $response : mixed
- $settings : mixed
- __construct() : mixed
- checkDay() : void
- Check if is a new day.
- convertGameTime() : mixed
- gameTime() : int
- gameTimeDetails() : mixed
- getGameTime() : mixed
- isNewDay() : bool
- Check if is a new day.
- secondsToNextGameDay() : mixed
Properties
$navigation
private
mixed
$navigation
$request
private
mixed
$request
$response
private
mixed
$response
$settings
private
mixed
$settings
Methods
__construct()
public
__construct(Response $response, Navigation $navigation, Request $request, Settings $settings) : mixed
Parameters
- $response : Response
- $navigation : Navigation
- $request : Request
- $settings : Settings
Return values
mixed —checkDay()
Check if is a new day.
public
checkDay() : void
Return values
void —convertGameTime()
public
convertGameTime(int $intime[, bool $debug = false ]) : mixed
Parameters
- $intime : int
- $debug : bool = false
Return values
mixed —gameTime()
public
gameTime() : int
Return values
int —gameTimeDetails()
public
gameTimeDetails() : mixed
Return values
mixed —getGameTime()
public
getGameTime() : mixed
Return values
mixed —isNewDay()
Check if is a new day.
public
isNewDay() : bool
Return values
bool —secondsToNextGameDay()
public
secondsToNextGameDay([array<string|int, mixed>|null $details = null ]) : mixed
Parameters
- $details : array<string|int, mixed>|null = null