File "SystemClock.php"
Full path: /home/orbitecv/orbite-school.orbit.et/vendor/beste/clock/src/Clock/SystemClock.php
File size: 370 B
MIME-type: text/x-php
Charset: utf-8
Download Open Edit Advanced Edit Back
<?php
declare(strict_types=1);
namespace Beste\Clock;
use Beste\Clock;
use DateTimeImmutable;
final class SystemClock implements Clock
{
private function __construct()
{
}
public static function create(): self
{
return new self();
}
public function now(): DateTimeImmutable
{
return new DateTimeImmutable();
}
}