forked from php-enqueue/enqueue-dev
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDriverSendResult.php
More file actions
35 lines (28 loc) · 757 Bytes
/
Copy pathDriverSendResult.php
File metadata and controls
35 lines (28 loc) · 757 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
<?php
namespace Enqueue\Client;
use Interop\Queue\Destination;
use Interop\Queue\Message as TransportMessage;
final class DriverSendResult
{
/**
* @var Destination
*/
private $transportDestination;
/**
* @var TransportMessage
*/
private $transportMessage;
public function __construct(Destination $transportDestination, TransportMessage $transportMessage)
{
$this->transportDestination = $transportDestination;
$this->transportMessage = $transportMessage;
}
public function getTransportDestination(): Destination
{
return $this->transportDestination;
}
public function getTransportMessage(): TransportMessage
{
return $this->transportMessage;
}
}