2017-03-02 22:05:28 -05:00
|
|
|
<?php
|
|
|
|
|
|
|
|
namespace BusinessLogic\Emails;
|
|
|
|
|
|
|
|
|
2017-09-11 21:03:03 -04:00
|
|
|
class EmailTemplate extends \BaseClass {
|
2017-03-02 22:05:28 -05:00
|
|
|
/**
|
|
|
|
* @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;
|
|
|
|
}
|
|
|
|
}
|