symfony/clock
Symfony Clock decouples your code from the system clock. Inject ClockInterface to get DateTimeImmutable via now(), control timezones, and pause execution with sleep(). Ideal for testable, time-sensitive services without relying on global time.
|
Package
|
Constraint
|
|---|---|
| psr/clock | ^1.0 |
None
How can I help you explore Laravel packages today?