src/Service/Handler/ChangePassword/ChangePasswordCommand.php line 9

Open in your IDE?
  1. <?php
  2. namespace App\Service\Handler\ChangePassword;
  3. use App\Entity\UsuarioHermes;
  4. final class ChangePasswordCommand
  5. {
  6. public function __construct(
  7. public readonly UsuarioHermes $user,
  8. public readonly string $type = 'propietario', //'propietario' | 'participante'
  9. public readonly string $currentPassword,
  10. public readonly string $newPassword,
  11. public readonly string $newPasswordConfirmation
  12. ) {}
  13. }