DefaultController::indexAction()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 7
Code Lines 4

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
c 1
b 0
f 0
dl 0
loc 7
rs 9.4285
cc 1
eloc 4
nc 1
nop 0
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