DefaultController::indexAction()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 4
rs 10
c 0
b 0
f 0
cc 1
eloc 2
nc 1
nop 0
1
<?php
2
3
namespace Web\FrontendBundle\Controller;
4
5
use Sensio\Bundle\FrameworkExtraBundle\Configuration\Template;
6
use Symfony\Bundle\FrameworkBundle\Controller\Controller;
7
use Sensio\Bundle\FrameworkExtraBundle\Configuration\Route;
8
use Sensio\Bundle\FrameworkExtraBundle\Configuration\Method;
9
10
/**
11
 * Class DefaultController
12
 *
13
 * @category None
14
 * @package  Web\FrontendBundle\Controller
15
 * @author   Martin Pham <[email protected]>
16
 * @license  None http://
17
 * @link     None
18
 */
19
class DefaultController extends Controller
20
{
21
    /**
22
     * @Route("/")
23
     * @Method({"GET"})
24
     * @Template()
25
     */
26
    public function indexAction()
27
    {
28
        return [];
29
    }
30
}
31