mirror of
https://github.com/ellite/Wallos.git
synced 2026-01-19 20:28:06 -05:00
20 lines
279 B
PHP
20 lines
279 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace OTPHP;
|
|
|
|
use DateTimeImmutable;
|
|
use Psr\Clock\ClockInterface;
|
|
|
|
/**
|
|
* @internal
|
|
*/
|
|
final class InternalClock implements ClockInterface
|
|
{
|
|
public function now(): DateTimeImmutable
|
|
{
|
|
return new DateTimeImmutable();
|
|
}
|
|
}
|