You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
27 lines
501 B
PHTML
27 lines
501 B
PHTML
7 years ago
|
<?php
|
||
|
|
||
|
namespace BusinessLogic\Emails;
|
||
|
|
||
|
|
||
|
class EmailTemplate {
|
||
|
/**
|
||
|
* @var $languageKey string
|
||
|
*/
|
||
|
public $languageKey;
|
||
|
|
||
|
/**
|
||
|
* @var $fileName string
|
||
|
*/
|
||
|
public $fileName;
|
||
|
|
||
|
/**
|
||
|
* @var $forStaff bool
|
||
|
*/
|
||
|
public $forStaff;
|
||
|
|
||
|
function __construct($forStaff, $fileName, $languageKey = null) {
|
||
|
$this->languageKey = $languageKey === null ? $fileName : $languageKey;
|
||
|
$this->fileName = $fileName;
|
||
|
$this->forStaff = $forStaff;
|
||
|
}
|
||
|
}
|