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: SystemClock.php
<?php declare(strict_types=1); namespace Lcobucci\Clock; use DateTimeImmutable; use DateTimeZone; use function date_default_timezone_get; final class SystemClock implements Clock { public function __construct(private readonly DateTimeZone $timezone) { } public static function fromUTC(): self { return new self(new DateTimeZone('UTC')); } public static function fromSystemTimezone(): self { return new self(new DateTimeZone(date_default_timezone_get())); } public function now(): DateTimeImmutable { return new DateTimeImmutable('now', $this->timezone); } }
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