Debug::timerSetting()

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

NameType(s)Description
$keystring
$value (optional)mixed null

Return value

mixed


Debug methods and properties

API reference based on ProcessWire core version 3.0.251