Footer   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 15
Duplicated Lines 0 %

Test Coverage

Coverage 100%

Importance

Changes 0
Metric Value
wmc 1
eloc 5
c 0
b 0
f 0
dl 0
loc 15
rs 10
ccs 5
cts 5
cp 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A footer() 0 8 1
1
<?php
2
3
namespace mQueue\View\Helper;
4
5
use Zend_View_Helper_Abstract;
6
7
class Footer extends Zend_View_Helper_Abstract
8
{
9
    /**
10
     * Returns the website footer
11
     *
12
     * @return string
13
     */
14 12
    public function footer()
15
    {
16 12
        $result = '';
17
18 12
        $result .= '<a href="' . $this->view->serverUrl() . $this->view->url(
19 12
                ['controller' => 'about'], 'default', true) . '">' . $this->view->translate('about mQueue') . '</a> ';
20
21 12
        return $result;
22
    }
23
}
24