HeadersProviderTemplate::getHeaders()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 6
Code Lines 3

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 6
rs 9.4285
c 0
b 0
f 0
cc 1
eloc 3
nc 1
nop 0
1
<?php
2
/**
3
 * MtMail - e-mail module for Zend Framework
4
 *
5
 * @link      http://github.com/mtymek/MtMail
6
 * @copyright Copyright (c) 2013-2017 Mateusz Tymek
7
 * @license   BSD 2-Clause
8
 */
9
10
namespace MtMailTest\Test;
11
12
use MtMail\Template\HeadersProviderInterface;
13
use MtMail\Template\HtmlTemplateInterface;
14
15
class HeadersProviderTemplate implements HtmlTemplateInterface, HeadersProviderInterface
16
{
17
18
    /**
19
     * @return string
20
     */
21
    public function getHtmlTemplateName()
22
    {
23
        return 'template';
24
    }
25
26
    /**
27
     * @return array
28
     */
29
    public function getHeaders()
30
    {
31
        return [
32
            'subject' => 'Default subject'
33
        ];
34
    }
35
}
36