Download the PHP package nanaweb/clock without Composer
On this page you can find all versions of the php package nanaweb/clock. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download nanaweb/clock
More information about nanaweb/clock
Files in nanaweb/clock
Download nanaweb/clock
More information about nanaweb/clock
Files in nanaweb/clock
Vendor nanaweb
Package clock
Short Description Clock object for object-oriented programming
License MIT
Package clock
Short Description Clock object for object-oriented programming
License MIT
Please rate this library. Is it a good library?
Informations about the package clock
nanaweb/clock
Install
Usage
now()
Inject to classes that needs current timestamp, and call $this->clock->now()
to get current timestamp.
today()
Inject to classes that needs current date, and call $this->clock->today()
to get current date.
why should I use Clock?
To test time-sensitive classes.
All versions of clock with dependencies
PHP Build Version
Package Version
Requires
php Version
>=7.2.0
The package nanaweb/clock contains the following files
Loading the files please wait ....