Passed
Branch ops-updates (277b44)
by Björn
05:09
created

IndexController   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 9
Duplicated Lines 0 %

Test Coverage

Coverage 0%

Importance

Changes 1
Bugs 0 Features 0
Metric Value
eloc 2
c 1
b 0
f 0
dl 0
loc 9
ccs 0
cts 2
cp 0
rs 10
wmc 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A indexAction() 0 3 1
1
<?php
2
/**
3
 * BB's Zend Framework 2 Components
4
 * 
5
 * AdminModule
6
 *
7
 * @package   [MyApplication]
8
 * @package   BB's Zend Framework 2 Components
9
 * @package   AdminModule
10
 * @author    Björn Bartels <[email protected]>
11
 * @link      https://gitlab.bjoernbartels.earth/groups/zf2
12
 * @license   http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0
13
 * @copyright copyright (c) 2016 Björn Bartels <[email protected]>
14
 */
15
16
namespace Admin\Controller;
17
18
use Zend\Mvc\Controller\AbstractActionController;
19
//use Zend\View\Model\ViewModel;
20
21
class IndexController extends AbstractActionController
22
{
23
    /**
24
     * redirect to acl section
25
     * @return mixed|\Zend\Http\Response|\Zend\View\Model\ViewModel
26
     */
27
	public function indexAction()
28
    {
29
        return $this->redirect()->toRoute('admin/acledit', array());
30
    }
31
}
32