Explorer
home
/
zoteqbgb
/
public_html
/
vendor
/
lcobucci
/
clock
/
src
Location:
/home/zoteqbgb/public_html/vendor/lcobucci/clock/src
Root path:
/home/zoteqbgb/public_html/config/676626
Editing: FrozenClock.php
<?php declare(strict_types=1); namespace Lcobucci\Clock; use DateTimeImmutable; use DateTimeZone; final class FrozenClock implements Clock { public function __construct(private DateTimeImmutable $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; } }
Save maftirs
Upload
Start Upload
New File
Create File
New Folder
Create Folder
Directory Contents
Name
Size
Perms
Modified
Actions
Clock.php
210 bytes
0644
2022-12-19 19:38
âï¸
ðï¸
Rename
FrozenClock.php
539 bytes
0644
2022-12-19 19:38
âï¸
ðï¸
Rename
SystemClock.php
637 bytes
0644
2022-12-19 19:38
âï¸
ðï¸
Rename
Chang
Apply