LayoutProviderTemplate   A
last analyzed

Complexity

Total Complexity 2

Size/Duplication

Total Lines 16
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Importance

Changes 0
Metric Value
wmc 2
lcom 0
cbo 0
dl 0
loc 16
rs 10
c 0
b 0
f 0

2 Methods

Rating   Name   Duplication   Size   Complexity  
A getHtmlTemplateName() 0 4 1
A getLayout() 0 4 1
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