Timer
Class Timer
Table of Contents
Methods
- __construct() : mixed
- Constructor.
- check() : bool
- Checks if time is over.
Methods
__construct()
Constructor.
public
__construct([int $newTimeLimit = 0 ][, mixed $increaseTimeLimit = true ]) : mixed
Parameters
- $newTimeLimit : int = 0
-
Timelimit seconds.
- $increaseTimeLimit : mixed = true
check()
Checks if time is over.
public
check([int $reserveTime = 0 ]) : bool
Parameters
- $reserveTime : int = 0
-
Insurance time.