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

CallbackController::formAction()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 4
rs 10
c 0
b 0
f 0
cc 1
eloc 2
nc 1
nop 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
}