DefaultController   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 13
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Importance

Changes 2
Bugs 1 Features 0
Metric Value
wmc 1
c 2
b 1
f 0
lcom 0
cbo 1
dl 0
loc 13
rs 10

1 Method

Rating   Name   Duplication   Size   Complexity  
A indexAction() 0 7 1
1
<?php
2
/**
3
 * (c) Tomasz Kunicki <[email protected]>
4
 *
5
 * For the full copyright and license information, please view the LICENSE
6
 * file that was distributed with this source code.
7
 */
8
namespace AppBundle\Controller;
9
10
use Symfony\Bundle\FrameworkBundle\Controller\Controller;
11
use Sensio\Bundle\FrameworkExtraBundle\Configuration\Route;
12
13
/**
14
 * Class DefaultController
15
 *
16
 * @package AppBundle\Controller
17
 */
18
class DefaultController extends Controller
19
{
20
    /**
21
     * @Route("/", name="homepage")
22
     */
23
    public function indexAction()
24
    {
25
        return $this->render(
26
            'default/index.html.twig',
27
            array()
28
        );
29
    }
30
}
31