1 | <?php |
||
8 | class QueuedMessage implements QueuedMessageInterface |
||
9 | { |
||
10 | /** |
||
11 | * @var AMQPMessage |
||
12 | */ |
||
13 | private $message; |
||
14 | |||
15 | /** |
||
16 | * @var array |
||
17 | */ |
||
18 | private $body; |
||
19 | |||
20 | /** |
||
21 | * @var AMQPChannel |
||
22 | */ |
||
23 | private $queueName; |
||
24 | |||
25 | 2 | public function __construct(AMQPMessage $message) |
|
31 | |||
32 | 1 | public function getQueueName() : string |
|
36 | |||
37 | 1 | public function getDeliveryTag() : string |
|
41 | |||
42 | 2 | public function getBody() : array |
|
46 | |||
47 | public function getRawBody() : string |
||
51 | |||
52 | /** |
||
53 | * @param string $value |
||
54 | * |
||
55 | * @return mixed|null |
||
56 | */ |
||
57 | 1 | public function __get(string $value) |
|
61 | } |
||
62 |