Debug


Class: \Flextype\Component\Debug\Debug

Visibility Function
public static dump(mixed $data, \boolean $exit=false) : void
Print the variable $data and exit if exit = true Debug::dump($data);
public static elapsedTime(\string $point_name) : string
Get elapsed time for current point echo Debug::elapsedTime('point_name');
public static elapsedTimeSetPoint(\string $point_name) : void
Save current time for current point Debug::elapsedTimeSetPoint('point_name');
public static memoryUsage(\string $point_name) : string
Get memory usage for current point echo Debug::memoryUsage('point_name');
public static memoryUsageSetPoint(\string $point_name) : void
Save current memory for current point Debug::memoryUsageSetPoint('point_name');
Language: en, ru