for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/*
* This file is part of the BenGorUser package.
*
* (c) Beñat Espiña <[email protected]>
* (c) Gorka Laucirica <[email protected]>
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace BenGorUser\User\Application\Command\ChangePassword;
/**
* By request remember password change user password command class.
* @author Beñat Espiña <[email protected]>
* @author Gorka Laucirica <[email protected]>
class ByRequestRememberPasswordChangeUserPasswordCommand
{
* The new plain password.
* @var string
private $newPlainPassword;
* The password remember token.
private $rememberPasswordToken;
* Constructor.
* @param string $aNewPlainPassword The new plain password
* @param string $aRememberPasswordToken The password remember token
public function __construct($aNewPlainPassword, $aRememberPasswordToken)
$this->newPlainPassword = $aNewPlainPassword;
$this->rememberPasswordToken = $aRememberPasswordToken;
}
* Gets the new plain password.
* @return string
public function newPlainPassword()
return $this->newPlainPassword;
* Gets the password remember token.
public function rememberPasswordToken()
return $this->rememberPasswordToken;