TwistPHP Documentation

Timer

File path: dist/twist/Core/Helpers/Timer.helper.php
Namespace: Twist\Core\Helpers
Extends: Base

Type: Class

Timer — Timer to capture the time taken

Example Usage

<?php
//Set the variables for the example
$intStartMicroTime null;

//Call the function start with the example vars
Twist::Timer() -> start($intStartMicroTime);

Method List

Method Access Returns
__constructconstructvoid
getMicroTimeprotectedvoid
startpublicvoid
stoppublicvoid
clearpublicvoid
resultspublicvoid
logpublicvoid