Completed
Pull Request — develop (#605)
by
unknown
05:24
created

PostProcessor::process()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 0
CRAP Score 2

Importance

Changes 0
Metric Value
dl 0
loc 4
ccs 0
cts 4
cp 0
rs 10
c 0
b 0
f 0
cc 1
eloc 2
nc 1
nop 1
crap 2
1
<?php
2
/**
3
 * Schema Class for output data.
4
 */
5
namespace Graviton\ProxyApiBundle\Processor;
6
7
use Symfony\Component\HttpFoundation\Response;
8
9
/**
10
 * Before Proxy Request process and prepare data for orequest
11
 *
12
 * @author   List of contributors <https://github.com/libgraviton/graviton/graphs/contributors>
13
 * @license  http://opensource.org/licenses/gpl-license.php GNU Public License
14
 * @link     http://swisscom.ch
15
 */
16
class PostProcessor implements PostProcessorInterface
17
{
18
    /**
19
     * For additional post processing of the response or
20
     * any other handling if required.
21
     *
22
     * @param Response $response Sf client response
23
     * @return Response
24
     */
25
    public function process(Response $response)
26
    {
27
        return $response;
28
    }
29
}
30