mirror of
https://github.com/elyby/accounts.git
synced 2025-05-31 14:11:46 +05:30
Компонент для email'ов перемещён в common
This commit is contained in:
30
common/emails/templates/RegistrationEmailParams.php
Normal file
30
common/emails/templates/RegistrationEmailParams.php
Normal file
@@ -0,0 +1,30 @@
|
||||
<?php
|
||||
namespace common\emails\templates;
|
||||
|
||||
class RegistrationEmailParams {
|
||||
|
||||
private $username;
|
||||
|
||||
private $code;
|
||||
|
||||
private $link;
|
||||
|
||||
public function __construct(string $username, string $code, string $link) {
|
||||
$this->username = $username;
|
||||
$this->code = $code;
|
||||
$this->link = $code;
|
||||
}
|
||||
|
||||
public function getUsername(): string {
|
||||
return $this->username;
|
||||
}
|
||||
|
||||
public function getCode(): string {
|
||||
return $this->code;
|
||||
}
|
||||
|
||||
public function getLink(): string {
|
||||
return $this->link;
|
||||
}
|
||||
|
||||
}
|
Reference in New Issue
Block a user