Code Coverage |
||||||||||
Lines |
Functions and Methods |
Classes and Traits |
||||||||
Total | |
0.00% |
0 / 4 |
|
0.00% |
0 / 4 |
CRAP | |
0.00% |
0 / 1 |
MailTemplateArrayProvider | |
0.00% |
0 / 4 |
|
0.00% |
0 / 4 |
20 | |
0.00% |
0 / 1 |
__construct | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |||
getTemplate | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |||
getTemplates | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |||
setTemplates | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 |
1 | <?php |
2 | |
3 | namespace BO\Zmsadmin\Helper; |
4 | |
5 | class MailTemplateArrayProvider |
6 | { |
7 | protected $templates = array(); |
8 | |
9 | public function __construct() |
10 | { |
11 | } |
12 | |
13 | public function getTemplate($templateName) |
14 | { |
15 | return $this->templates[$templateName]; |
16 | } |
17 | |
18 | public function getTemplates() |
19 | { |
20 | return $this->templates; |
21 | } |
22 | |
23 | public function setTemplates($templates) |
24 | { |
25 | $this->templates = $templates; |
26 | } |
27 | } |