| Conditions | 1 |
| Paths | 1 |
| Total Lines | 8 |
| Code Lines | 6 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 24 | protected function declareExchange(): void |
||
| 25 | { |
||
| 26 | $this->mergeOptions(); |
||
| 27 | $args = array_values($this->options()); |
||
| 28 | array_unshift($args, self::TYPE_FANOUT); |
||
| 29 | array_unshift($args, $this->exchange); |
||
| 30 | call_user_func_array([$this->channel(), 'exchange_declare'], $args); |
||
| 31 | $this->declared = true; |
||
| 32 | } |
||
| 34 |