Passed
Push — master ( e91424...06fcec )
by Martin
06:44
created

DefaultController   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 12
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Importance

Changes 0
Metric Value
wmc 1
lcom 0
cbo 1
dl 0
loc 12
rs 10
c 0
b 0
f 0

1 Method

Rating   Name   Duplication   Size   Complexity  
A indexAction() 0 4 1
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