Completed
Pull Request — master (#7)
by John
02:17
created

TestController::unsecureAction()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 1 Features 0
Metric Value
c 1
b 1
f 0
dl 0
loc 4
rs 10
cc 1
eloc 2
nc 1
nop 1
1
<?php
2
/*
3
 * This file is part of the KleijnWeb\JwtBundle package.
4
 *
5
 * For the full copyright and license information, please view the LICENSE
6
 * file that was distributed with this source code.
7
 */
8
9
namespace KleijnWeb\JwtBundle\Tests\Functional\App\Controller;
10
11
use Symfony\Component\HttpFoundation\Request;
12
use Symfony\Component\HttpFoundation\Response;
13
14
/**
15
 * @author John Kleijn <[email protected]>
16
 */
17
class TestController
18
{
19
    /**
20
     * @return Response
21
     */
22
    public function secureAction()
23
    {
24
        return new Response('SECURED CONTENT');
25
    }
26
27
    /**
28
     * @return Response
29
     */
30
    public function securedWithSecretLoaderAction()
31
    {
32
        return new Response('CONTENT SECURED WITH SECRET LOADER');
33
    }
34
35
    /**
36
     * @return Response
37
     */
38
    public function unsecuredAction()
39
    {
40
        return new Response('UNSECURED CONTENT');
41
    }
42
}
43