Completed
Push — master ( 5dadda...07493f )
by Cesar
30s queued 10s
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 index() 0 4 1
1
<?php
2
3
namespace App\Controller\Braintree;
4
5
use Symfony\Component\Routing\Annotation\Route;
6
use Symfony\Component\HttpFoundation\Response;
7
8
/**
9
 * Class DefaultController
10
 * @package App\Controller\Paypal
11
 *
12
 * @Route("/braintree", name="braintree-")
13
 */
14
class DefaultController extends AbstractController
15
{
16
    /**
17
     * @Route("/", name="index", methods={"GET"})
18
     *
19
     * @return Response
20
     */
21
    public function index()
22
    {
23
        return $this->render('braintree/index.html.twig');
24
    }
25
}
26