20 lines
296 B
PHP
20 lines
296 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace Jose\Component\Checker;
|
|
|
|
use DateTimeImmutable;
|
|
use Psr\Clock\ClockInterface;
|
|
|
|
/**
|
|
* @internal
|
|
*/
|
|
final class InternalClock implements ClockInterface
|
|
{
|
|
public function now(): DateTimeImmutable
|
|
{
|
|
return new DateTimeImmutable();
|
|
}
|
|
}
|