Clock
The clock is used to return the current time as DateTimeImmutable. There is a system clock and a frozen clock for test purposes.
Info
You can find out more about clock in the library documentation. This documentation is limited to bundle integration.
Configuration
You can freeze time for your tests as follows:
Note
If freeze is not set, then the system clock is used.