Completed
Push — master ( 636a3e...0d9cfe )
by Joachim
12:23
created

CallbackController   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 13
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A formAction() 0 4 1
1
<?php
2
namespace Loevgaard\DandomainAltapayBundle\Controller;
3
4
use Symfony\Bundle\FrameworkBundle\Controller\Controller;
5
use Sensio\Bundle\FrameworkExtraBundle\Configuration\Route;
6
use Sensio\Bundle\FrameworkExtraBundle\Configuration\Method;
7
use Symfony\Component\HttpFoundation\Request;
8
use Symfony\Component\HttpFoundation\Response;
9
10
/**
11
 * @Route("/callback")
12
 */
13
class CallbackController extends Controller {
14
    /**
15
     * @Method("POST")
16
     * @Route("/form", name="loevgaard_dandomain_altapay_callback_form")
17
     *
18
     * @param Request $request
19
     * @return Response
20
     */
21
    public function formAction(Request $request)
0 ignored issues
show
Unused Code introduced by
The parameter $request is not used and could be removed.

This check looks from parameters that have been defined for a function or method, but which are not used in the method body.

Loading history...
22
    {
23
        return $this->render('@LoevgaardDandomainAltapay/callback/form.html.twig');
24
    }
25
}