Home
last modified time | relevance | path

Searched refs:TimeFactoryInterface (Results 1 – 4 of 4) sorted by relevance

/webtrees/tests/app/Services/
H A DTimeoutServiceTest.php22 use Fisharebest\Webtrees\Contracts\TimeFactoryInterface; alias
86 $time_factory = $this->createMock(TimeFactoryInterface::class);
104 $time_factory = $this->createMock(TimeFactoryInterface::class);
117 $time_factory = $this->createMock(TimeFactoryInterface::class);
130 $time_factory = $this->createMock(TimeFactoryInterface::class);
/webtrees/app/
H A DRegistry.php47 use Fisharebest\Webtrees\Contracts\TimeFactoryInterface; alias
106 private static TimeFactoryInterface $time_factory;
515 * @param TimeFactoryInterface|null $factory
517 * @return TimeFactoryInterface
519 …public static function timeFactory(TimeFactoryInterface|null $factory = null): TimeFactoryInterface
521 if ($factory instanceof TimeFactoryInterface) {
/webtrees/app/Factories/
H A DTimeFactory.php22 use Fisharebest\Webtrees\Contracts\TimeFactoryInterface; alias
29 class TimeFactory implements TimeFactoryInterface
/webtrees/app/Contracts/
H A DTimeFactoryInterface.php25 interface TimeFactoryInterface interface