| 1 | <?php |
||
| 6 | class Message implements MessageInterface |
||
| 7 | { |
||
| 8 | /** |
||
| 9 | * @var array |
||
| 10 | */ |
||
| 11 | private $message; |
||
| 12 | |||
| 13 | /** |
||
| 14 | * @var JobInterface |
||
| 15 | */ |
||
| 16 | private $job; |
||
| 17 | |||
| 18 | /** |
||
| 19 | * @var string |
||
| 20 | */ |
||
| 21 | private $queueUrl; |
||
| 22 | |||
| 23 | /** |
||
| 24 | * @param array $message |
||
| 25 | * @param JobInterface $job |
||
| 26 | * @param string $queueUrl |
||
| 27 | */ |
||
| 28 | public function __construct(array $message, JobInterface $job, $queueUrl) |
||
| 34 | |||
| 35 | /** |
||
| 36 | * {@inheritdoc} |
||
| 37 | */ |
||
| 38 | public function getJob() |
||
| 42 | |||
| 43 | /** |
||
| 44 | * {@inheritdoc} |
||
| 45 | */ |
||
| 46 | public function getMessage() |
||
| 50 | |||
| 51 | /** |
||
| 52 | * {@inheritdoc} |
||
| 53 | */ |
||
| 54 | public function getQueueUrl() |
||
| 58 | |||
| 59 | } |