Definition at line 5 of file Timer.php.
◆ __call()
__call |
( |
|
$name, |
|
|
|
$arguments |
|
) |
| |
◆ __get()
◆ __toString()
◆ asHtml()
HTML representation of times.
- Returns
- string
Definition at line 83 of file Timer.php.
◆ asText()
Text representation of times.
- Returns
- string
Definition at line 59 of file Timer.php.
◆ pad()
◆ start()
Start a timer.
- Parameters
-
string | $id | ID for the timer. |
Definition at line 25 of file Timer.php.
◆ stop()
Stop the running timer.
Definition at line 17 of file Timer.php.
◆ time()
Time for a single ID.
- Parameters
-
string | $id | ID of the timer. |
- Returns
- float Time (including active timer).
Definition at line 36 of file Timer.php.
◆ total()
Total time.
- Returns
- float
Definition at line 46 of file Timer.php.
◆ $_id
◆ $_start
Time the active id started.
Definition at line 12 of file Timer.php.
◆ $count
◆ $decimals
◆ $times
Times (value) per id (key).
Definition at line 8 of file Timer.php.
The documentation for this class was generated from the following file:
- /var/www/fred.local/vendor/rsi/helpers/src/Rsi/Timer.php