Domain: User, Session, EmailAddress, DTOs, repositories, services (PasswordHasher, TokenGenerator, Clock). Config: PHP-DI container definitions and Slim routes. Entry point: public/index.php with slim-bridge.
10 lines
118 B
PHP
10 lines
118 B
PHP
<?php
|
|
|
|
namespace App\Auth;
|
|
|
|
use DateTimeImmutable;
|
|
|
|
interface Clock
|
|
{
|
|
public function now(): DateTimeImmutable;
|
|
}
|