| 1 | <?php |
||
| 8 | class Returned extends Message |
||
| 9 | { |
||
| 10 | /** |
||
| 11 | * @var string |
||
| 12 | */ |
||
| 13 | private $exchange; |
||
| 14 | |||
| 15 | /** |
||
| 16 | * @var string |
||
| 17 | */ |
||
| 18 | private $routingKey; |
||
| 19 | |||
| 20 | /** |
||
| 21 | * @var int |
||
| 22 | */ |
||
| 23 | private $replyCode; |
||
| 24 | |||
| 25 | /** |
||
| 26 | * @var string |
||
| 27 | */ |
||
| 28 | private $replyText; |
||
| 29 | |||
| 30 | /** |
||
| 31 | * @param int $replyCode |
||
| 32 | * @param string $replyText |
||
| 33 | * @param string $exchange |
||
| 34 | * @param string $routingKey |
||
| 35 | * @param string $body |
||
| 36 | * @param array $properties |
||
| 37 | */ |
||
| 38 | 2 | public function __construct( |
|
| 53 | |||
| 54 | /** |
||
| 55 | * Exchange where message was sent initially. |
||
| 56 | * |
||
| 57 | * @return string |
||
| 58 | */ |
||
| 59 | public function getExchange() |
||
| 63 | |||
| 64 | /** |
||
| 65 | * Routing key. |
||
| 66 | * |
||
| 67 | * @return string |
||
| 68 | */ |
||
| 69 | public function getRoutingKey() |
||
| 73 | |||
| 74 | /** |
||
| 75 | * Define how to print object when dumping. |
||
| 76 | * |
||
| 77 | * @return array |
||
| 78 | */ |
||
| 79 | public function __debugInfo() |
||
| 88 | } |
||
| 89 |