Свойство | Тип | Описание | |
---|---|---|---|
$endTime | double | The time at which the timer was ended. | |
$startTime | double | The time at which the timer was started. |
Метод | Описание | |
---|---|---|
__construct ( double | null $startTime = null ) : void | Start the timer. | |
end ( double | null $time = null ) : void | End the timer. | |
getElapsedTime ( ) : double | Get the amount of time (in milliseconds) that elapsed while the timer was turned on. |
public __construct ( double | null $startTime = null ) : void | ||
$startTime | double | null | |
Результат | void |
public getElapsedTime ( ) : double | ||
Результат | double |
protected double $endTime | ||
Результат | double |