Helper class for profiler handling.
More...
|
static | init (string $name="default") |
static | start (string $name="default") |
static | stop (string $name="default") |
static | get (string $name="default") |
Helper class for profiler handling.
Definition at line 13 of file Profiler.php.
◆ get()
PlanetTeamSpeak\TeamSpeak3Framework\Helper\Profiler::get |
( |
string | $name = "default" | ) |
|
|
static |
Returns a timer.
- Parameters
-
- Returns
- Timer
Definition at line 69 of file Profiler.php.
◆ init()
PlanetTeamSpeak\TeamSpeak3Framework\Helper\Profiler::init |
( |
string | $name = "default" | ) |
|
|
static |
Inits a timer.
- Parameters
-
- Returns
- void
Definition at line 28 of file Profiler.php.
◆ start()
PlanetTeamSpeak\TeamSpeak3Framework\Helper\Profiler::start |
( |
string | $name = "default" | ) |
|
|
static |
Starts a timer.
- Parameters
-
- Returns
- void
Definition at line 39 of file Profiler.php.
◆ stop()
PlanetTeamSpeak\TeamSpeak3Framework\Helper\Profiler::stop |
( |
string | $name = "default" | ) |
|
|
static |
Stops a timer.
- Parameters
-
- Returns
- void
Definition at line 54 of file Profiler.php.
◆ $timers
array PlanetTeamSpeak\TeamSpeak3Framework\Helper\Profiler::$timers = [] |
|
staticprotected |
The documentation for this class was generated from the following file: