Footer::footer()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 8
Code Lines 4

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 5
CRAP Score 1

Importance

Changes 0
Metric Value
eloc 4
c 0
b 0
f 0
dl 0
loc 8
rs 10
ccs 5
cts 5
cp 1
cc 1
nc 1
nop 0
crap 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