LayoutProviderTemplate::getLayout()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 4
rs 10
c 0
b 0
f 0
cc 1
eloc 2
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\HtmlTemplateInterface;
13
use MtMail\Template\LayoutProviderInterface;
14
15
class LayoutProviderTemplate implements HtmlTemplateInterface, LayoutProviderInterface
16
{
17
18
    /**
19
     * @return string
20
     */
21
    public function getHtmlTemplateName()
22
    {
23
        return 'template';
24
    }
25
26
    public function getLayout()
27
    {
28
        return 'specific-layout.phtml';
29
    }
30
}
31