service-captcha/app/Dto/Request/Private/Profile/UpdatePassword.php

18 lines
317 B
PHP

<?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;
}
}