2017-04-21 01:41:43 +03:00
|
|
|
<?php
|
2019-06-07 02:16:13 +03:00
|
|
|
declare(strict_types=1);
|
|
|
|
|
2017-04-24 19:22:24 +03:00
|
|
|
namespace common\emails\templates;
|
2017-04-21 01:41:43 +03:00
|
|
|
|
|
|
|
class RegistrationEmailParams {
|
|
|
|
|
|
|
|
private $username;
|
|
|
|
|
|
|
|
private $code;
|
|
|
|
|
|
|
|
private $link;
|
|
|
|
|
|
|
|
public function __construct(string $username, string $code, string $link) {
|
|
|
|
$this->username = $username;
|
|
|
|
$this->code = $code;
|
2017-06-11 21:06:55 +03:00
|
|
|
$this->link = $link;
|
2017-04-21 01:41:43 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
public function getUsername(): string {
|
|
|
|
return $this->username;
|
|
|
|
}
|
|
|
|
|
|
|
|
public function getCode(): string {
|
|
|
|
return $this->code;
|
|
|
|
}
|
|
|
|
|
|
|
|
public function getLink(): string {
|
|
|
|
return $this->link;
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|