add clock interface
This commit is contained in:
parent
057df09dda
commit
04712bdd2d
1 changed files with 10 additions and 0 deletions
10
app/Auth/Clock.php
Normal file
10
app/Auth/Clock.php
Normal file
|
|
@ -0,0 +1,10 @@
|
||||||
|
<?php
|
||||||
|
|
||||||
|
namespace App\Auth;
|
||||||
|
|
||||||
|
use DateTimeImmutable;
|
||||||
|
|
||||||
|
interface Clock
|
||||||
|
{
|
||||||
|
public function now(): DateTimeImmutable;
|
||||||
|
}
|
||||||
Loading…
Add table
Add a link
Reference in a new issue