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

DefaultController   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 11
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Importance

Changes 0
Metric Value
wmc 1
lcom 0
cbo 1
dl 0
loc 11
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\ApiBundle\Controller;
4
5
use Symfony\Bundle\FrameworkBundle\Controller\Controller;
6
use Sensio\Bundle\FrameworkExtraBundle\Configuration\Route;
7
use Sensio\Bundle\FrameworkExtraBundle\Configuration\Method;
8
9
/**
10
 * Class DefaultController
11
 *
12
 * @category None
13
 * @package  Web\ApiBundle\Controller
14
 * @author   Martin Pham <[email protected]>
15
 * @license  None http://
16
 * @link     None
17
 */
18
class DefaultController extends Controller
19
{
20
    /**
21
     * @Route("/")
22
     * @Method({"GET"})
23
     */
24
    public function indexAction()
25
    {
26
        return null;
27
    }
28
}
29