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

18 lines
314 B
PHP
Raw Normal View History

<?php declare(strict_types=1);
2023-08-01 22:04:35 +06:00
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;
}
}