15 lines
269 B
PHP
15 lines
269 B
PHP
<?php
|
|
|
|
namespace App\Auth;
|
|
|
|
use DateTimeImmutable;
|
|
|
|
class CreateSessionDto
|
|
{
|
|
public function __construct(
|
|
public string $token,
|
|
public int $userId,
|
|
public DateTimeImmutable $createdAt,
|
|
public DateTimeImmutable $expiresAt,
|
|
) {}
|
|
}
|