PHPackages                             tueena-lib/now - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. tueena-lib/now

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

tueena-lib/now
==============

A php 7 class that can return the current time as well as an interface, that can be mocked for unit tests.

v1.0.1(9y ago)014MITPHPPHP &gt;=7.0.0

Since Jan 8Pushed 9y agoCompare

[ Source](https://github.com/tueena-lib/now)[ Packagist](https://packagist.org/packages/tueena-lib/now)[ RSS](/packages/tueena-lib-now/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (1)Versions (4)Used By (0)

tueena-lib/now
==============

[](#tueena-libnow)

A php 7 class that returns the current time as well as an interface, that can be mocked for unit tests.

Features
--------

[](#features)

- Invoking an instance of the class returns an instance of `\DateTimeImmutable`.

Usage
-----

[](#usage)

```
