. */ namespace SP\Domain\Account\Dtos; /** * Class EncryptedPassword */ final readonly class EncryptedPassword { public function __construct( private string $pass, private string $key, private ?string $hash = null ) { } public function getPass(): string { return $this->pass; } public function getKey(): string { return $this->key; } public function getHash(): ?string { return $this->hash; } }