Total Complexity | 6 |
Total Lines | 61 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
11 | class ExchangeBind extends AbstractOptions |
||
12 | { |
||
13 | /** |
||
14 | * @var Exchange |
||
15 | */ |
||
16 | protected $exchange; |
||
17 | /** |
||
18 | * @var array |
||
19 | */ |
||
20 | protected $routingKeys = []; |
||
21 | |||
22 | /** |
||
23 | * @return Exchange |
||
24 | */ |
||
25 | 3 | public function getExchange() |
|
29 | |||
30 | /** |
||
31 | * @param array|Exchange $exchange |
||
32 | * |
||
33 | * @return $this |
||
34 | * |
||
35 | * @throws \InvalidArgumentException |
||
36 | */ |
||
37 | 4 | public function setExchange($exchange) |
|
51 | |||
52 | /** |
||
53 | * @return array |
||
54 | */ |
||
55 | 3 | public function getRoutingKeys() |
|
59 | |||
60 | /** |
||
61 | * @param array $routingKeys |
||
62 | * |
||
63 | * @return $this |
||
64 | */ |
||
65 | 2 | public function setRoutingKeys($routingKeys) |
|
71 | } |
||
72 |