Interface for mutable classes that require access to a clock.
public
setClock(?ClockInterface $clock): self
Sets the clock instance on the class.
getClock(): Clock
Gets the clock instance.