mirror of
https://github.com/beste/clock.git
synced 2026-08-17 17:47:13 +00:00
Add a WrappingClock
The `WrappingClock` allows using an object with a `now()` method returning a `DateTimeImmutable` object as a "real" clock.
This commit is contained in:
@@ -1,5 +1,9 @@
|
||||
# CHANGELOG
|
||||
|
||||
## 2.1.0 - 2022-04-22
|
||||
Adds the `WrappingClock` which allows using an object with a `now()` method returning a `DateTimeImmutable` object
|
||||
as a "real" clock.
|
||||
|
||||
## 2.0.0 - 2022-04-20
|
||||
This release introduces a compatibility layer with the PSR-20 draft, allowing us to already
|
||||
get some interoperability by depending on a shared interface.
|
||||
|
||||
Reference in New Issue
Block a user