Linux SRV-16 6.18.44-paas #1 SMP PREEMPT_DYNAMIC Thu Aug 13 10:08:12 UTC 2026 x86_64
/
srv
/
data
/
trash
/
vhost_www.rec-app.app_1716798588
/
htdocs
/
vendor
/
lcobucci
/
clock
/
src
/
/srv/data/trash/vhost_www.rec-app.app_1716798588/htdocs/vendor/lcobucci/clock/src/FrozenClock.php
<?php declare(strict_types=1); namespace Lcobucci\Clock; use DateTimeImmutable; use DateTimeZone; final class FrozenClock implements Clock { private DateTimeImmutable $now; public function __construct(DateTimeImmutable $now) { $this->now = $now; } public static function fromUTC(): self { return new self(new DateTimeImmutable('now', new DateTimeZone('UTC'))); } public function setTo(DateTimeImmutable $now): void { $this->now = $now; } public function now(): DateTimeImmutable { return $this->now; } }