mirror of
https://github.com/elyby/accounts.git
synced 2025-05-31 14:11:46 +05:30
Removed ely/email-renderer package and implemented new emails renderer client [skip ci]
This commit is contained in:
41
common/components/EmailsRenderer/Request/TemplateRequest.php
Normal file
41
common/components/EmailsRenderer/Request/TemplateRequest.php
Normal file
@@ -0,0 +1,41 @@
|
||||
<?php
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace common\components\EmailsRenderer\Request;
|
||||
|
||||
class TemplateRequest {
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
private $name;
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
private $locale;
|
||||
|
||||
/**
|
||||
* @var array
|
||||
*/
|
||||
private $params;
|
||||
|
||||
public function __construct(string $name, string $locale, array $params) {
|
||||
$this->name = $name;
|
||||
$this->locale = $locale;
|
||||
$this->params = $params;
|
||||
}
|
||||
|
||||
public function getName(): string {
|
||||
return $this->name;
|
||||
}
|
||||
|
||||
public function getLocale(): string {
|
||||
return $this->locale;
|
||||
}
|
||||
|
||||
public function getParams(): array {
|
||||
return $this->params;
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user