src/Outbox/OutboxTransportOperation.php 1 location
|
@@ 35-43 (lines=9) @@
|
| 32 |
|
* @param string $body |
| 33 |
|
* @param array $headers |
| 34 |
|
*/ |
| 35 |
|
public function __construct($messageId, array $options, $body, array $headers) |
| 36 |
|
{ |
| 37 |
|
Guard::againstNullAndEmpty('messageId', $messageId); |
| 38 |
|
|
| 39 |
|
$this->messageId = $messageId; |
| 40 |
|
$this->options = $options; |
| 41 |
|
$this->body = $body; |
| 42 |
|
$this->headers = $headers; |
| 43 |
|
} |
| 44 |
|
|
| 45 |
|
/** |
| 46 |
|
* @return string |
src/Transport/IncomingPhysicalMessage.php 1 location
|
@@ 35-43 (lines=9) @@
|
| 32 |
|
* @param array $headers |
| 33 |
|
* @param string $body |
| 34 |
|
*/ |
| 35 |
|
public function __construct($messageId, array $headers, $body) |
| 36 |
|
{ |
| 37 |
|
Guard::againstNullAndEmpty('messageId', $messageId); |
| 38 |
|
Guard::againstNull('body', $body); |
| 39 |
|
|
| 40 |
|
$this->messageId = $messageId; |
| 41 |
|
$this->headers = $headers; |
| 42 |
|
$this->body = $body; |
| 43 |
|
} |
| 44 |
|
|
| 45 |
|
/** |
| 46 |
|
* @return string |
src/Transport/OutgoingPhysicalMessage.php 1 location
|
@@ 29-39 (lines=11) @@
|
| 26 |
|
* @param array $headers |
| 27 |
|
* @param string $body |
| 28 |
|
*/ |
| 29 |
|
public function __construct($messageId, array $headers, $body) |
| 30 |
|
{ |
| 31 |
|
Guard::againstNullAndEmpty('messageId', $messageId); |
| 32 |
|
Guard::againstNull('body', $body); |
| 33 |
|
|
| 34 |
|
$this->messageId = $messageId; |
| 35 |
|
$this->headers = $headers; |
| 36 |
|
$this->body = $body; |
| 37 |
|
} |
| 38 |
|
|
| 39 |
|
/** |
| 40 |
|
* @return string |
| 41 |
|
*/ |
| 42 |
|
public function getMessageId() |