Get or set timer setting
Available since version 3.0.154.
Example
// Example of changing precision to 2
Debug::timerSetting('precision', 2);
Usage
// basic usage
$mixed = Debug::timerSetting(string $key);
// usage with all arguments
$mixed = Debug::timerSetting(string $key, $value = null);
Arguments
Name | Type(s) | Description |
---|---|---|
key | string | |
value (optional) | mixed, null |
Return value
mixed
API reference based on ProcessWire core version 3.0.236