SystemClock
Class
implements
ClockInterface
Final:
Yes
A clock implementation that returns the current system time.
Description
This class implements the ClockInterface and provides a method to get the current time as a DateTimeImmutable object.
Interfaces
Methods
now()
: DateTimeImmutable
Returns the current time as a DateTimeImmutable Object.