add system clock

This commit is contained in:
Yisroel Baum 2026-04-24 13:23:38 +03:00
parent 04712bdd2d
commit de4d577781
Signed by: yisroelbaum
GPG key ID: 0FA60884F75520A9

13
app/Auth/SystemClock.php Normal file
View file

@ -0,0 +1,13 @@
<?php
namespace App\Auth;
use DateTimeImmutable;
class SystemClock implements Clock
{
public function now(): DateTimeImmutable
{
return new DateTimeImmutable();
}
}