芝麻web文件管理V1.00
编辑当前文件:/home/mgatv524/giga.mgaplay.com.br/vendor/lcobucci/jwt/compat/lcobucci-clock-polyfill.php
now = $now; } /** @return self */ public static function fromUTC() { return new self(new DateTimeImmutable('now', new DateTimeZone('UTC'))); } public function setTo(DateTimeImmutable $now) { $this->now = $now; } public function now() { return $this->now; } } final class SystemClock implements Clock { /** @var DateTimeZone */ private $timezone; public function __construct(DateTimeZone $timezone) { $this->timezone = $timezone; } /** @return self */ public static function fromUTC() { return new self(new DateTimeZone('UTC')); } /** @return self */ public static function fromSystemTimezone() { return new self(new DateTimeZone(date_default_timezone_get())); } public function now() { return new DateTimeImmutable('now', $this->timezone); } } }