FastForward Clock
FastForward Clock provides PSR-20 compliant clock implementations for PHP applications.
This package offers two clock implementations:
- SystemClock : Returns the current system time, ideal for production use
- FrozenClock : Returns a fixed time, perfect for testing scenarios where you need deterministic time
Both clocks implement Psr\Clock\ClockInterface
and integrate seamlessly with Fast Forward Container through ClockServiceProvider
.