Closed adapik closed 8 months ago
This can only be done in the bundle once the extensions have support for using a PSR-20 clock. Otherwise, there is no way for the bundle to configure it to use it. So you should request that to the extensions first.
As of the package's 3.15 release, a clock can be injected. See https://github.com/doctrine-extensions/DoctrineExtensions/pull/2760 for reference.
Thank you, @stof
I would like to have a optional symfony/clock integration with Timestampable, now the DateTime object created with new, so we have no option to mock them in tests.