PHP Classes
elePHPant
Icontem

PHP Timer Trait: Measure elapsed time as a trait

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Info   View files Example   View files View files (2)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2014-08-11 (1 year ago) RSS 2.0 feedNot yet rated by the usersTotal: 103 All time: 8,170 This week: 1,146Up
Version License PHP version Categories  
timer-trait 1GNU General Publi...5.4PHP 5, Time and Date, Traits
Description Author  

This package provides a trait that measures the time that elapsed between different moments of the execution of the script.

It keeps track of the time it starts measuring the elapsed time, so later it can return the time that passed since the start time.

The trait can also return the remaining time until it reaches a given moment.

Picture of Jacob Fogg
  Performance   Level  
Name: Jacob Fogg is available for providing paid consulting. Contact Jacob Fogg .
Classes: 7 packages by
Country: United States United States
Age: 36
All time rank: 1887247 in United States United States
Week rank: 50 Up7 in United States United States Up
Innovation award
Innovation award
Nominee: 3x

Winner: 1x

  Files folder image Files  
File Role Description
Files folder imageFogg (1 directory)

  Files folder image Files  /  Fogg  
File Role Description
Files folder imageUtil (1 directory)

  Files folder image Files  /  Fogg  /  Util  
File Role Description
Files folder imageTimer (2 files)

  Files folder image Files  /  Fogg  /  Util  /  Timer  
File Role Description
  Plain text file TimerTrait.php Class The Timer Trait Class
  Accessible without login Plain text file TraitExample.php Example A simple example class to demonstrate the functionality of the TimerTrait class.

 Version Control Unique User Downloads Download Rankings  
 0%Total:103All time:8,170
 This week:0This week:1,146Up