mirror of
https://gitlab.com/CIEFWorldwideSdnBhd/portal.git
synced 2026-08-26 07:54:18 +00:00
Initial commit
This commit is contained in:
@@ -0,0 +1,45 @@
|
||||
<?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;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user