Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
bug #48347 [Clock] Autowire PSR interface (wouterj)
This PR was merged into the 6.2 branch. Discussion ---------- [Clock] Autowire PSR interface | Q | A | ------------- | --- | Branch? | 6.2 | Bug fix? | no | New feature? | no | Deprecations? | no | Tickets | - | License | MIT | Doc PR | - Sorry for doing two things in a single PR, but it felt too small to split. * The first commit I'm sure about: autowire PSR's `ClockInterface`, just like we do for e.g. the `EventDispatcherInterface` * ~The second commit is something I want to propose after trying to write some docs on using Clock as a framework user: It isn't trivial to change the class of a definition from an application... and using a fixed moment in time while testing is *the* advantage of a clock component. So what about automatically switching to it when test mode is enabled?~ `@nicolas`-grekas Commits ------- 648ed20 Autowire the PSR ClockInterface
- Loading branch information