Added the ability to manage users.
This commit is contained in:
17
app/Dto/Request/Private/User/UpdatePassword.php
Normal file
17
app/Dto/Request/Private/User/UpdatePassword.php
Normal file
@@ -0,0 +1,17 @@
|
||||
<?php declare(strict_types=1);
|
||||
|
||||
namespace App\Dto\Request\Private\User;
|
||||
|
||||
use App\Dto\Request\Dto;
|
||||
|
||||
final readonly class UpdatePassword extends Dto
|
||||
{
|
||||
public function __construct(
|
||||
private string $password
|
||||
) { }
|
||||
|
||||
public function getPassword(): string
|
||||
{
|
||||
return $this->password;
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user