for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace src\Command;
use HMLB\DDD\Entity\Identity;
/**
* Request a password reset procedure after forgetting it.
*
* @author Hugues Maignol <[email protected]>
*/
final class RequestPasswordReset
{
* @var Identity
private $userId;
public function __construct(Identity $userId)
$this->userId = $userId;
}
* @return Identity
public function getUserId(): Identity
return $this->userId;