AdministrationController   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 10
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
wmc 1
eloc 2
dl 0
loc 10
c 0
b 0
f 0
rs 10

1 Method

Rating   Name   Duplication   Size   Complexity  
A indexAction() 0 3 1
1
<?php
2
3
/*
4
 * This file is part of the thealternativezurich/feedback project.
5
 *
6
 * (c) Florian Moser <[email protected]>
7
 *
8
 * For the full copyright and license information, please view the LICENSE
9
 * file that was distributed with this source code.
10
 */
11
12
namespace App\Controller;
13
14
use App\Controller\Administration\Base\BaseController;
15
use Symfony\Component\HttpFoundation\Response;
16
use Symfony\Component\Routing\Annotation\Route;
17
18
/**
19
 * @Route("/administration")
20
 */
21
class AdministrationController extends BaseController
22
{
23
    /**
24
     * @Route("", name="administration")
25
     *
26
     * @return Response
27
     */
28
    public function indexAction()
29
    {
30
        return $this->redirectToRoute('administration_semesters');
31
    }
32
}
33