Added a new feature to allow users to update their passwords.

This commit is contained in:
2023-07-07 18:08:14 +06:00
parent 00a0624eea
commit 39eae7f196
7 changed files with 73 additions and 3 deletions

View File

@@ -0,0 +1,17 @@
<?php declare(strict_types=1);
namespace App\Dto\Request\Private\Profile;
use App\Dto\Request\Dto;
final readonly class UpdatePassword extends Dto
{
public function __construct(
private string $password
) { }
public function getPassword(): string
{
return $this->password;
}
}