Completed
Push — master ( cbb2b3...70b387 )
by Daniel
03:09
created

RpcServiceMock::buildResponse()   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 0
1
<?php
2
3
namespace Cmobi\RabbitmqBundle\Tests\Rpc;
4
5
use Cmobi\RabbitmqBundle\Rpc\RpcBaseService;
6
7
class RpcServiceMock extends RpcBaseService
8
{
9
    /**
10
     * @return array
11
     */
12
    public function getQueueOptions()
13
    {
14
        return $this->queueOptions;
15
    }
16
17
    /**
18
     * Build response for rpc server
19
     *
20
     * @return string
21
     */
22
    protected function buildResponse()
23
    {
24
        return 'RpcServiceMock';
25
    }
26
}