Download the PHP package jmf/time without Composer
On this page you can find all versions of the php package jmf/time. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Vendor jmf
Package time
Short Description Time package to retrieve and measure time. Provides an implementation of the PSR-20 clock interface.
License MIT
Package time
Short Description Time package to retrieve and measure time. Provides an implementation of the PSR-20 clock interface.
License MIT
Please rate this library. Is it a good library?
Informations about the package time
Time package
Installation & Requirements
Install with Composer:
Usage
Clock
Clock
allows to retrieve current time and date.
Injecting it in your application will allow to ease the testing of time-related operations (mocking its ClockInterface
interface and making its return values predictable).
Timer
Timer
allows to mesure elapsed time (in seconds, with microsecond precision).
It can be started ($timer->start()
), stopped ($timer->stop()
), reset ($timer->reset()
), and restarted ($timer->restart()
). You can also query elapsed time ($timer->getElapsed()
).
All versions of time with dependencies
PHP Build Version
Package Version
The package jmf/time contains the following files
Loading the files please wait ....