| @@ 185-196 (lines=12) @@ | ||
| 182 | * @see \PhpAmqpLib\Channel\AMQPChannel::exchange_declare() |
|
| 183 | * @return array |
|
| 184 | */ |
|
| 185 | public function listParams() |
|
| 186 | { |
|
| 187 | return [ |
|
| 188 | $this->passive, |
|
| 189 | $this->durable, |
|
| 190 | $this->autoDelete, |
|
| 191 | $this->internal, |
|
| 192 | $this->nowait, |
|
| 193 | $this->arguments, |
|
| 194 | $this->ticket |
|
| 195 | ]; |
|
| 196 | } |
|
| 197 | } |
|
| 198 | ||
| @@ 163-174 (lines=12) @@ | ||
| 160 | * @see \Phpamqplib\Channel\AMQPChannel::queue_declare() |
|
| 161 | * @return array |
|
| 162 | */ |
|
| 163 | public function listParams() |
|
| 164 | { |
|
| 165 | return [ |
|
| 166 | $this->passive, |
|
| 167 | $this->durable, |
|
| 168 | $this->exclusive, |
|
| 169 | $this->autoDelete, |
|
| 170 | $this->nowait, |
|
| 171 | $this->arguments, |
|
| 172 | $this->ticket |
|
| 173 | ]; |
|
| 174 | } |
|
| 175 | } |
|
| 176 | ||