ErrorController   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 9
Duplicated Lines 0 %

Test Coverage

Coverage 0%

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A initialize() 0 4 1
1
<?php
2
3
/**
4
 * This file is part of the Zemit Framework.
5
 *
6
 * (c) Zemit Team <[email protected]>
7
 *
8
 * For the full copyright and license information, please view the LICENSE.txt
9
 * file that was distributed with this source code.
10
 */
11
12
namespace Zemit\Modules\Frontend\Controllers;
13
14
use Zemit\Mvc\Controller\Traits\Actions\ErrorActions;
15
use Zemit\Mvc\Controller\Traits\StatusCode;
16
17
class ErrorController extends AbstractController
18
{
19
    use StatusCode;
20
    use ErrorActions;
21
22
    public function initialize()
23
    {
24
        $this->view->pick('error/index');
25
        parent::initialize();
26
    }
27
}
28