ldc-cocotte/app/Cqs/Actions/Auth/ResetCustomerPasswordInput.php
Jérémy Munsch 47b0c16857
feat(auth): implement ResetCustomerPassword action and related classes
Adds functionality for resetting customer passwords, including input and output handling.
2026-11-15 19:57:38 +01:00

20 lines
422 B
PHP

<?php
declare(strict_types=1);
namespace App\Cqs\Actions\Auth;
use App\Contracts\ActionInput;
use App\Models\Customer;
use Webmozart\Assert\Assert;
final readonly class ResetCustomerPasswordInput implements ActionInput
{
public function __construct(
public Customer $customer,
#[\SensitiveParameter]
public string $password,
) {
Assert::stringNotEmpty($this->password);
}
}