mirror of
https://gitlab.com/CIEFWorldwideSdnBhd/portal.git
synced 2026-08-19 12:34:01 +00:00
45 lines
834 B
PHP
45 lines
834 B
PHP
<?php
|
|
|
|
namespace App\Classes\Modules\Accounts\DataTransferObjects;
|
|
|
|
|
|
use App\Classes\Interfaces\DataTransferObject;
|
|
|
|
class NewPasswordObject implements DataTransferObject
|
|
{
|
|
|
|
/** @var String */
|
|
private $password;
|
|
|
|
/** @var String */
|
|
private $ConfirmPassword;
|
|
|
|
/**
|
|
* NewPassword constructor.
|
|
* @param String $password
|
|
* @param String $ConfirmPassword
|
|
*/
|
|
public function __construct(String $password, String $ConfirmPassword)
|
|
{
|
|
$this->password = $password;
|
|
$this->ConfirmPassword = $ConfirmPassword;
|
|
}
|
|
|
|
/**
|
|
* @return String
|
|
*/
|
|
public function getPassword(): String
|
|
{
|
|
return $this->password;
|
|
}
|
|
|
|
/**
|
|
* @return String
|
|
*/
|
|
public function getConfirmPassword(): String
|
|
{
|
|
return $this->ConfirmPassword;
|
|
}
|
|
|
|
|
|
} |