Conditions | 1 |
Paths | 1 |
Total Lines | 23 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
50 | protected function createBunnyManager(): BunnyManager |
||
51 | { |
||
52 | return new BunnyManager( |
||
53 | $this->container, |
||
54 | [ |
||
55 | 'aliases' => [ |
||
56 | 'myAlias' => 'App\\Service\\Consumer\\TestConsumer', |
||
57 | ], |
||
58 | 'connection' => [ |
||
59 | 'host' => '127.0.0.10', |
||
60 | 'port' => 9999, |
||
61 | 'user' => 'guest', |
||
62 | 'password' => 'guest', |
||
63 | 'vhost' => '/', |
||
64 | 'timeout' => 1, |
||
65 | 'heartbeat' => 60.0, |
||
66 | 'persistent' => false, |
||
67 | 'path' => '/', |
||
68 | 'tcp_nodelay' => false, |
||
69 | ], |
||
70 | ] |
||
71 | ); |
||
72 | } |
||
73 | } |
||
74 |