qlimix / time
An interface to lapse time
2.0.0
2020-11-01 17:53 UTC
Requires
- php: >=7.4
Requires (Dev)
- qlimix/code-standard: ^2.0
This package is auto-updated.
Last update: 2024-10-29 05:40:51 UTC
README
An interface to lapse time
Install
Using Composer:
$ composer require qlimix/time
usage
<?php use \Qlimix\Time\SleepTimeLapse; use \Qlimix\Time\USleepTimeLapse; $time = new SleepTimeLapse(1); $time = new USleepTimeLapse(1); $time->lapse();
Testing
To run all unit tests locally with PHPUnit:
$ vendor/bin/phpunit
Quality
To ensure code quality run grumphp which will run all tools:
$ vendor/bin/grumphp run
Contributing
Please see CONTRIBUTING for details.