Все части, отвечающие за отправку E-mail вынесены в отдельный компонент

This commit is contained in:
ErickSkrauch
2017-04-21 01:41:43 +03:00
parent 0e2aff91d0
commit c0780736ca
17 changed files with 427 additions and 126 deletions

View File

@@ -0,0 +1,30 @@
<?php
namespace api\emails\templates;
class ForgotPasswordParams {
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;
}
}