Completed
Pull Request — develop (#605)
by
unknown
14:48
created

PostProcessor   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 15
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 15
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 Graviton\ProxyApiBundle\Model\ProxyModel;
8
use Symfony\Component\HttpFoundation\Response;
9
10
/**
11
 * Before Proxy Request process and prepare data for orequest
12
 *
13
 * @author   List of contributors <https://github.com/libgraviton/graviton/graphs/contributors>
14
 * @license  http://opensource.org/licenses/gpl-license.php GNU Public License
15
 * @link     http://swisscom.ch
16
 */
17
class PostProcessor implements PostProcessorInterface
18
{
19
    /**
20
     * For additional post processing of the response or
21
     * any other handling if required.
22
     *
23
     * @param Response   $response   Sf client response
24
     * @param ProxyModel $proxyModel Configuration model
25
     * @return Response
26
     */
27
    public function process(Response $response, ProxyModel $proxyModel)
28
    {
29
        return $response;
30
    }
31
}
32