first commit
This commit is contained in:
17
src/Identity/Application/Command/ChangePasswordCommand.php
Normal file
17
src/Identity/Application/Command/ChangePasswordCommand.php
Normal file
@@ -0,0 +1,17 @@
|
||||
<?php
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace Netig\Netslim\Identity\Application\Command;
|
||||
|
||||
/**
|
||||
* DTO d'entrée du use case ChangePassword.
|
||||
*/
|
||||
final readonly class ChangePasswordCommand
|
||||
{
|
||||
public function __construct(
|
||||
public int $userId,
|
||||
public string $currentPassword,
|
||||
public string $newPassword,
|
||||
) {}
|
||||
}
|
||||
Reference in New Issue
Block a user