DemoController::leftSidebarAction()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 1
Metric Value
c 1
b 0
f 1
dl 0
loc 4
rs 10
cc 1
eloc 2
nc 1
nop 0
1
<?php
2
3
namespace Evheniy\HTML5VertiTemplateBundle\Controller;
4
5
use Symfony\Bundle\FrameworkBundle\Controller\Controller;
6
use Symfony\Component\HttpFoundation\Response;
7
8
/**
9
 * Class DemoController
10
 *
11
 * @package Evheniy\HTML5VertiTemplateBundle\Controller
12
 */
13
class DemoController extends Controller
14
{
15
    /**
16
     * @return Response
17
     */
18
    public function indexAction()
19
    {
20
        return $this->render('HTML5VertiTemplateBundle:Demo:index.html.twig');
21
    }
22
23
    /**
24
     * @return Response
25
     */
26
    public function leftSidebarAction()
27
    {
28
        return $this->render('HTML5VertiTemplateBundle:Demo:left_sidebar.html.twig');
29
    }
30
31
    /**
32
     * @return Response
33
     */
34
    public function rightSidebarAction()
35
    {
36
        return $this->render('HTML5VertiTemplateBundle:Demo:right_sidebar.html.twig');
37
    }
38
39
    /**
40
     * @return Response
41
     */
42
    public function noSidebarAction()
43
    {
44
        return $this->render('HTML5VertiTemplateBundle:Demo:no_sidebar.html.twig');
45
    }
46
}