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

PostProcessor   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 14
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Test Coverage

Coverage 0%

Importance

Changes 0
Metric Value
wmc 1
lcom 0
cbo 0
dl 0
loc 14
ccs 0
cts 4
cp 0
rs 10
c 0
b 0
f 0

1 Method

Rating   Name   Duplication   Size   Complexity  
A process() 0 4 1
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