Made authorization.

This commit is contained in:
kor-elf committed 2023-07-06 10:48:32 +06:00
1 parent 6b2aff910b
commit f481ee765d
17 files changed
+356 -5

No files matched your search

+27
View File
@@ -0,0 +1,27 @@
<?php declare(strict_types=1);
namespace App\Dto\Request;
final readonly class Authorization extends Dto
{
public function __construct(
private string $email,
private string $password,
private bool $remember = false
) { }
public function getEmail(): string
{
return $this->email;
}
public function getPassword(): string
{
return $this->password;
}
public function getRemember(): bool
{
return $this->remember;
}
}