Test Setup Failed
Push — master ( d53689...335649 )
by Daniel
18:36
created

DefaultController::whoAction()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
c 0
b 0
f 0
dl 0
loc 4
rs 10
cc 1
eloc 2
nc 1
nop 0
1
<?php
2
3
namespace ApiBundle\Controller;
4
5
use Symfony\Bundle\FrameworkBundle\Controller\Controller;
6
use Symfony\Component\HttpFoundation\JsonResponse;
7
8
class DefaultController extends Controller
9
{
10
    public function whoAction()
11
    {
12
        return new JsonResponse(['name' => 'Daniel Oliveira <[email protected]>']);
13
    }
14
}
15