qlimix/time

An interface to lapse time

2.0.0 2020-11-01 17:53 UTC

This package is auto-updated.

Last update: 2024-10-29 05:40:51 UTC


README

Travis CI Coveralls Packagist MIT License

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.