Searched refs:time_factory (Results 1 – 2 of 2) sorted by relevance
86 $time_factory = $this->createMock(TimeFactoryInterface::class);87 $time_factory->method('now')->willReturn($now + 60.0);88 Registry::timeFactory($time_factory);104 $time_factory = $this->createMock(TimeFactoryInterface::class);105 $time_factory->method('now')->willReturn($now + 10.0);106 Registry::timeFactory($time_factory);117 $time_factory = $this->createMock(TimeFactoryInterface::class);118 $time_factory->method('now')->willReturn($now + 1.4);119 Registry::timeFactory($time_factory);130 $time_factory = $this->createMock(TimeFactoryInterface::class);[all …]
106 private static TimeFactoryInterface $time_factory; variable in Fisharebest\\Webtrees\\Registry522 self::$time_factory = $factory;525 return self::$time_factory;